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
What are the types of object repository in qtp?
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
How you can make an action as re-usable action?
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
desribe a situation where u faced a stressful situation and how did u cope with it
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
With what extension you can save the list of tests in a file to run in test batch runner?
Is it possible to merge two object repository files in qtp?
Explain the difference between call to action and copy action?
What are the types of object repositories? Which one is you using?
What is QTP testing process?
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
What are the types of object repositories? Which one is you are using?