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
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
how can i pass a "cript"as a parameter in to a function
What is the meaning Work bench?
Which functionalities of QTP used in banking project?
what could go wrong with test automation?
What are the different types of functions available in qtp and explain ?
What are the views available in qtp?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
How QTP identify the system time that's changes every seconds?
How do you synchronization point through DP?