In a web page, one web table is present which is dynamic.
In that table one of the column has links with the same
inner text. write a script so that i need to click the
third link.
Answer Posted / sid
Hi All
U can also do this by using GetRowWithCellText method
At First get the row which u got that link in WebTable
Obj=Browser("title:=.*").Page("title:=.*).WebTable("name:= ").GetRowWithCellText("Just give the name which link u wanna click")
Now u got the row no of that particular link in obj
If obj<>0 then
Browser().Page().WebTable().Link("name:= ").click
End If
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to test use the quality control .how to verify the image verification
how interviews will be on QTP?
what are the mandatory properties for a tex boxc (scenario?)
How would you directly trigger javascript in a test?
What is the basic concept of quicktest professional (qtp)?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
What are the types of object repository in qtp?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
Have you done batch testing in qtp? If yes how you are doing?
when a test case is written how u test using qtp
What is Curd testing?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
If I change the object name in one action will it be updated in all the actions? Or not?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
after click on compose mail how can we attached a file in qtp with vbscript code