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 can i check items sorted or not in a weblist ? Give me the script for this...
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
What is checkpoint in qtp?
What is recovery scenario manager? When you go for recovery scenario manager?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
What is quick test pro? What is a quick test professional?
what are the challenges you have faced while testing web based application using the automation tools ?
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
What is ‘object spy’ and what is the function of object spy in qtp?
What is difference between Recording time object identification and Run time (Execution) time.
What is optional step in qtp? How you can add optional step in qtp?
can u explain relative path architecture framework in qtp?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
How to change the priorities of the recovery scenario properties?