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
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
Explain the types of object repository?
How to use output values in qtp ?
How to use setroproperty?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
How to modify object property in qtp ?
How to record a qtp script ?
what is the difference between the modular framework and datadriven frame work
Differences between quicktest professional (qtp) and winrunner?
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.
Explain the features and benefits of quick test pro(qtp)?
By using QTP can we record any log files written by the application which is in execution?
what is object and child object.. explain ..if possible give some example for better understanding ..
What is use of object spy?
What is quicktest professional window?