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

Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks

2166


How many types of actions are there in quicktest professional (qtp)?

742


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

1969


how will you check how many members visited the website www.infosys.com?

1696


What is the difference between qtp and selenium?

788


What is the Difference between test object and run time object?

851


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5658


What are the recording modes in qtp?

798


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

2068


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1906


Explain Descriptive Programming Types with Examples?

1181


Explain the concept of how quicktest professional (qtp) identifies object?

792


How to explain a banking project in interview as a test engineer???

2862


What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?

2077


How to carry out bit map check points in QTP

1979