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 to Display last item of a Combobox by using QTP?

Answer Posted / chandu

x=Browser("Browser Name").page("PageName").Weblist
("WebListName").GetRoProperty("items count")
Browser("BrowserName").page("PageName").Weblist
("WebListName").Getitem(x)

the above code will select the last item in the list box

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to start recording using quicktest professional?

1136


What are the different recording modes?

952


How to find the length of the string in qtp?

998


What are the key points to create a framework in QTP for oracle forms?

2234


how to test Web application using QTP software

1765


What is difference between run time object and test object?

1030


How you can find length of array in qtp?

979


What are the advantages of Object Repository?

1060


Explain the concept of object repository and how qtp recognises objects?

1004


How can we conduct U-I Testing by using QTP??????

1856


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

960


How to get the particular property value?

1026


How to capture all the data of a webtable, weblist and combolist using QTP?

3312


What do you to script when objects are removed from application?

1038


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1954