Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the use of the recordset object and which statement is used to create such an object?

1019


What are the rules to name variable in vbscript?

1141


how to set one column as primary key in QTP and fetch values accordingly

2361


What are the environments supported by vbscript language?

990


In html file what is an ideal position to include vbscript?

1472


How will you format a number in percetage format in vbscript?

1044


How will you get the exponent of the given number in vbscript?

1084


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.

2137


Mention what is byref and byval parameters in vbscript?

1052


What is the use of option explicit in vbscript?

1044


What is the difference between vb debugger and the script debugger?

1212


How will you get the natural logarithm of the given number in vbscript?

1117


What purpose does ‘on error resume next’ serves?

1147


What is the purpose of drive object of scripting.filesystemobject class in vbscript?

1048


How regexp.execute method works?

1120