Suppose there are 100 links in a web page and the number of
links will be changing dynamically from time to time. I
need code such that every time i had to click on the last
link of the web page.
Answer Posted / qtp
set odesc = decription.create
odesc("micclass").value = "Link"
set n = browser("xxx").page("xxx").childobjects(odesc)
objcount = n.count
n(objcount-1).click
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to carry out bit map check points in QTP
How can you send user defined messages to test report?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
How you can find the absolute value of the number in qtp?
What are main panes available in qtp test browser?
Why is action split used by qtp?
How can I check if a environment variable exist or not?
Sql questions to find second max salary and how to use joins
is it possible to add sheets to excel at runtime
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
What are the types of object repository?
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)
What are the types of data tables in qtp?