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
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
Why bpt?
Can we record an application running on a remote machine using qtp?
What is object spy in quicktest professional?
what is test scheduleling?
How to add synchronisation points in qtp?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
what the difference between shared repository and per action repository?
How do you open adobe acrobat file in QTP and do some testing on that file ?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
How to get Traceability matrix from TD?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
In qtp, explain what is crypt object
How to start recording using quicktest professional?