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
How to customize checkpoints with parameters?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
How to create runtime property for an object?
When do go for loop condition in test?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
Explain how qtp identifies objects?
Is it possible to merge two object repository files in qtp?
How can i initiate the objects to find uniquely in OR
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
How to check which add-ins are associated with a test in qtp?
How can i check items sorted or not in a weblist ? Give me the script for this...
How to capture a window in QTP?
What is the difference between the keyword view and expert view?