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 is the Bitmap checkpoint different from Image checkpoint?

1123


What are the various types of Actions in UFT?

1073


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2774


Is it possible to call from one action to another action in qtp?

1032


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

1997


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

2563


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1885


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2672


regular expression in qtp standar check point for months from accepting months from january to december only

1901


What is environment variable in qtp and why to use it?

1021


How to create a standard checkpoint ?

1088


Is it possible to use two instances of UFT on the same machine? If not why?

1132


Is it possible to change the property value at runtime? How it is possible?

1035


Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2592


For which type of project the iterative model is suitable?

1780