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
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
What is text check point and text area check point?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
What phases are involved in testing an application in qtp?
When to use descriptive programming?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
how can i pass a "cript"as a parameter in to a function
How would you export a script from one pc to another in qtp?
How do you synchronization point through DP?
How to carry out bit map check points in QTP