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 steps involved in recovery scenario wizard?
Which scripting language used by quicktest professional (qtp)?
Your roles and responsibilities and daily tasks? (As automation tester)
What is the virtual object?
How is the Bitmap checkpoint different from Image checkpoint?
What are parameterizing tests?
What is a recovery scenario?
What are test settings and global settings?
Can we record using all the modes in a single script? Explanation with example is appreciated
Approach for Installation,comaptibility,system testing
Explain the concept of object repository and how qtp recognises objects?
desribe a situation where u faced a stressful situation and how did u cope with it
How to use actions in qtp ?
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.