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 / kiran
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-1).click
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
What are the challenges u faced in testing with crm domain? How u overcome with?
Explain types of output values?
How many lines of code in each script of QTP?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.
How to record application running on the Virtual machine?
Can we create a qtp test from qc?
What are the benefits of quick test pro(qtp)?
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
What is data driver in qtp? Where we use it?
What r the different filters in defect in quality center
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
how to do the batch testing in test director using manual testing procedure?