I'm facing this problem while automating my
application..its a web based apps..
In my application there are few webtables are displaying in
the page.In the different cells there are links and action
buttons.Problem is there is link in different web tables
corresponding to one name.Hence the properties of the
objects(say a link) are same except the x,y co ordinate of
the object.So my script is not able to distinguish between
the two links present in different cells of web tables with
same name.Kindly help on this..

Answers were Sorted based on User's Feedback



I'm facing this problem while automating my application..its a web based apps.. In my applic..

Answer / ashis

Please use Index property to solve the proble,

Is This Answer Correct ?    0 Yes 0 No

I'm facing this problem while automating my application..its a web based apps.. In my applic..

Answer / feroz louis

Since your web tables are having unique names, you can use
the GetCellData(rowId, columnId) method to get the text you
are looking for and compare with the actual. If the string
is also same then you can use the ChildItem (Row, Column,
MicClass, Index) method of the webtable to get the exact
item you are looking for and work with that.

Is This Answer Correct ?    0 Yes 0 No

I'm facing this problem while automating my application..its a web based apps.. In my applic..

Answer / dvenkatesh

you can use method like
childitem(webTableRowNo,WebTableColumnNo,"Link",indexValue)
for specific 'cell' of webTable we have its row
number,column number and index value which always begins
with 0 so the complete operation is like...
browser("creationtime:=0").page("title;=.*").webtable
("name:=","column names:=").childitem
(rowNo,columnNo,"Link",index).click

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

HI. Plz Clarifie my doubt,having 2+yrs experience in Testing , But My accedamics(Xth,INTER) are Less than 60%, But B.Tech 72%. It creats any problem , When i change to any MNC. plz tell me......... lot of friends told it's a problem, Some people says NO problem, What .............

3 Answers  


How to test background color and dynamic images which are moving during runtime?

7 Answers   CTS,


How can you identify the browser and its information using the qtp script?

0 Answers  


Limitations in QTP?

0 Answers   CIL,


Explain how you can find the absolute value of the number in qtp?

0 Answers  






In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

0 Answers  


how can i call reusable action in a function could any one explain me?

2 Answers   Livetek,


OPening of notedpad in QTP to write and execute the coding?

2 Answers  


How to connect to a database?

0 Answers  


What is the Dynamic Scenario in QTP? And also anybody give the example for this?

3 Answers  


What are the common defects found in your project? (in qtp interview)

0 Answers   TCS,


i m fresher iwant to know about testing what is the scope of testing field.i m aware in manual testing shall i go to automatiuon testinh directly or if any work experinc in manual testinh then only i go to manually automation testing.

2 Answers  


Categories