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

What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2269


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3019


What is difference between shared and local object repository?

592


Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.

2411


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

1409






How to find a window is minimized or not

1449


What is the use of text output value in quicktest professional (qtp)?

604


Mention the different actions types of qtp.

577


How you know that a test case is a regression test case

3065


How to change the priorities of the recovery scenario properties?

597


What is Unicode Compatibility?

1457


is there any addin for remedy user application

1747


What is data driver in qtp? Where we use it?

574


What do you mean by checkpoints in qtp?

563


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1347