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 / kishore
set odesc = decription.create
odesc("micclass").value = "Link"
set n = browser("xxx").page("xxx").childobjects(odesc)
objcount = n.count
browser("xxxx").page("xxxx").link("index:="&objcount).click
Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What test you perform mostly? Regression or retesting in your testing process?
What is the syntax for how to call one script from another?
Give the syntax to import/export xls into qtp.
How can you close the second opened browser?
How to remove associated function library?
please any one can explain the keyword driven framework. with gmail example.
what is actually contain test report? can anybody post the test report
How is test case write?
what is vmodel?advantages and disadvantages of vmodel?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
What is an optional step in qtp ?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
What is the difference between per-action and shared?