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
How can you exit from an action?
What is an optional step in qtp ?
When and why to use descriptive programming?
what the difference between shared repository and per action repository?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
What is text/text area checkpoint?
explain keyword driven framework with banking domain?
How would you export a script from one pc to another in qtp?
Explain the check points in quicktest professional (qtp)?
can any one say that where we can download the QTP trail version ??????????
Discuss quicktest professional environment?
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
What is data driver in qtp?
If I change the property value at runtime is it effect is object repository?
What are the different types of recording modes?