How to Display last item of a Combobox by using QTP?
Answer Posted / ajreddy
hi
what ever chandu wrote its correct
Example:
x=Browser("micclass:=Browser).page("micclass:=Page).Getroproperty("items
count")
msgbox x ' Here u knows how many items r there in combobox
' after that which item u want u can get it
y=Browser("micclass:=Browser).page("micclass:=Page).Getitem(lastitemindexnumber)
count")
msgbox y
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
Which features or drawbacks of QTP lead to the upgrade for a newer version?
Hi How to retrieve data from web element line by line?
By using QTP can we record any log files written by the application which is in execution?
UFT 12.02 which ALM version will support
Output values? i want a practical example
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
What are the features supported by UFT?
how to know no.of mails in our g mail by using vb-script
How you can replace string in qtp?
Define Error Pane of UFT?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
Explain the concept of how quicktest professional identifies object?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work