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.

Answers were Sorted based on User's Feedback



In a web page, one web table is present which is dynamic. In that table one of the column has link..

Answer / tvs ramakrishna chowdary

i am not understanding ur question please post question
once again clearly i can give anser or mail to me

my mail id is-->krishnat.qa@gmail.com

Is This Answer Correct ?    0 Yes 0 No

In a web page, one web table is present which is dynamic. In that table one of the column has link..

Answer / 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

In a web page, one web table is present which is dynamic. In that table one of the column has link..

Answer / kamepalli

Get the child item from the table by using the below stmt.
a=browser("").page(").webtable("").childitem("weblink",2)
a.click

So by using index we can get the specified link from the webtabel.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page

1 Answers  


Did the scripts need lot of maintenance? If yes, why?

0 Answers  


describe some problems that u had with automating testing tool?

0 Answers  


If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?

1 Answers  


How we will execute(run) the scripts in qtp 8.2?

1 Answers  






suppose i give valid user id and password to open an web base application on qtp.how qtp will know itis a valid user id and password

3 Answers  


how to associate object repository during runtime in qtp

1 Answers   Deloitte,


Plz explain about object propeties in object identification? means.. explain about 1. mandatory properties.2. assestive properties 3. ordinal properties.

3 Answers   TCS,


what is Entry Criteria and Exit Criteria?

2 Answers  


How to export data in excelsheet to qtp without using datatable.

4 Answers  


I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?

5 Answers   Rogers,


How to Compare the 2 xl-sheets in QTP? ple write the vb Script for the comparison?

1 Answers  


Categories