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
How to start recording using quicktest professional?
What are the different recording modes?
How to find the length of the string in qtp?
What are the key points to create a framework in QTP for oracle forms?
how to test Web application using QTP software
What is difference between run time object and test object?
How you can find length of array in qtp?
What are the advantages of Object Repository?
Explain the concept of object repository and how qtp recognises objects?
How can we conduct U-I Testing by using QTP??????
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
How to get the particular property value?
How to capture all the data of a webtable, weblist and combolist using QTP?
What do you to script when objects are removed from application?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?