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


Please Help Members By Posting Answers For Below Questions

How many types of parameters are there?

753


What are the various types of Actions in UFT?

801


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1665


Why to use descriptive programming?

775


How to interact tool & application build in QTP?

1673


Is it possible to call win runner script in qtp?

853


What is keyword view in qtp?

722


Step 3&4 are repeated until an the object in recognised uniquely.

1743


If you are testing a web application then what will you test in that application?

1782


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

1947


Can anybody post some real time scenario in qtp? please its very urgent.

2037


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

1874


Can any suggest me what is exposure testing?

1563


what testplan contents and what test strategy contents,what is the diff b/w them

1877


what is the difference between modular framework & datadriven framework

1800