How do I check that the names in a weblist are correct e.g
in flight application the names of item are Denver,
paris,London, etc. How do I ensure the correct item is
displayed from the list after doing item count ?
Answer Posted / satyanj
First save all item names in DataTable with column
name "FlyFrom" and follow the script:
Val1 = dataTable.Value("FlyFrom")
i = 0
itm = Window("F.R.").WincomboBox("Fly From:").GetItem(i)
If Val1 = itm then
reporter.reportevent 0,"<Step Name> ","<pass>"
else
reporter.reportevent 1,"<Step Name>","Fail"
EndIf
i = i+1
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the use of the recordset object and which statement is used to create such an object?
What are the rules to name variable in vbscript?
how to set one column as primary key in QTP and fetch values accordingly
What are the environments supported by vbscript language?
In html file what is an ideal position to include vbscript?
How will you format a number in percetage format in vbscript?
How will you get the exponent of the given number in vbscript?
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
Mention what is byref and byval parameters in vbscript?
What is the use of option explicit in vbscript?
What is the difference between vb debugger and the script debugger?
How will you get the natural logarithm of the given number in vbscript?
What purpose does ‘on error resume next’ serves?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
How regexp.execute method works?