in one page we have 100 links i have to click the 99th link
how can i click the 99th link.

Answer Posted / murali.nachahally

set odes=description.create
odes("htmltag").value=linkbtn
coll=browser("browname").page("page name").frame("frame
name").cheildobjects(odes)
msgbox coll.count
for i=0 to coll-1
if i = 99
coll(i).set "ON"
browser("browname").page("page name").webedit("link").set click
end if
next

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create scenario selector

1467


What is contained in the object repository?

609


which type of testing process are you following in ur company? how to recognize a qtp page?

1397


How to use output values in qtp ?

548


What are the various automation frameworks available in qtp?

499






Explain about the quicktest professional (qtp) automation object model?

558


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1383


what testplan contents and what test strategy contents,what is the diff b/w them

1639


How does qtp identify the object in the application?

529


I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.

1617


hou can we use vb script in qtp could u tell me breafly

1733


How does quicktest professional (qtp) identifies the object in the application?

578


how to evalute defects in QTP script?

1480


What is the extension of the qtp local repository?

557


Does quicktest professional is unicode compatible?

511