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...

Hi .. i want to write the script for the combo nox list .
For example if any combo box having a multipul itme. So
how can i retrive each item for each iteration ? help me out .

Answer Posted / sandipgami84

Suppose u have Countries Combo, u can use below script
Set Browser_Page = Browser("title:=").Page("title:=.*")
cnt_CountryList = Browser_Page.WebList("html
id:=Countries").GetROProperty ("items count")
MsgBox(cnt_CountryList)
If cnt_CountryList >= 0 Then
Dim For_i
For For_i = 0 to cnt_CountryList -1
Browser_Page.WebList("html id:=Countries").Select For_i
MsgBox(Browser_Page.WebList("html
id:=Countries").GetROProperty("value"))
wait(1)
Next


Thanks,
Sandip, 09714177088

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we handle run-time errors?

976


How to open a new test using quicktest professional?

968


What are the differences between quicktest professional (qtp) and winrunner?

991


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1867


Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........

1876


What are the different types of recovery operation?

961


When to use descriptive programming?

1056


Suggest and Define a solution for an application whose objects are not recognized by UFT?

1050


Where to use Property Let, Property Get, Property Set in UFT

780


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

2022


Tell me one scenario, the complex functionality you have automated in your project?

1929


What is qtpro?

999


How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

2408


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

950


terminal services client

2187