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
what type of run time errors you get while you ar edoing rpg program?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
Do you know how to connect database? Can you tell me the procedures?
What are the differences between quicktest professional (qtp) and winrunner?
Which environments does qtp support?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
How is UFT 11.5 version different from UFT 12.0?
What are the differences between quicktest professional and winrunner?
what is error and fault in terms of software quality?
How to use transactions in qtp?
Where you are storing your script?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????