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

Hi Friends...this is surendra..recently i joined automation team ...Please send me some documents regarding VB script ...and where can i learn VB script... This is My mail id: surendra.mamilla@gmail.com... please send to my mail.... Thanx in advance surendra.

1 Answers  


A web page has two butons with same properties and rotating in clockwise direction. how to click on any of the button?

2 Answers   Virtusa,


In a shared Object Repository in QTP if some object is changed how can the other script which is using the same object can be known

6 Answers   iGate,


Can any suggest me what is exposure testing?

0 Answers   Value Labs,


Where we can use the analog mode and where we can use the low – level mode?

0 Answers  






How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

0 Answers  


how to write code for to select all the checkboxs in the gmail i wrote code for my question but it didn't works any body suggest what wrong my code my code is Set chkboxDesc=Description.Create() chkboxDesc("type").value="chekbox" Set chboxcollection=Browser("name:=Gmail .*").Page("title:=Gmail .*").ChildObjects(chkboxDesc) For i=0 To chboxcollection.count-1 chboxcollection(i).set "ON" Next i was getting general run time error pls help me i am in learing stage

2 Answers  


What is the present version of the VB Script we are using

1 Answers  


How to call actions in QTP?

2 Answers   Wipro,


What is the difference between qtp and selenium?

0 Answers  


How to test menu options using qtp

2 Answers  


your coming from electrical backgroung..but y ur coming to software side?

0 Answers   Accenture,


Categories