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

what is delay in QTP?

2 Answers  


On what document base Descriptive programming is written if build is not yet ready ?

0 Answers  


how can i add an action(external action) programmatically?

3 Answers   Ordain Solutions,


what is vmodel?advantages and disadvantages of vmodel?

3 Answers   AZTEC, scintel,


what is the difference between data driver & data driven and driver script?

0 Answers  






How to get Links count in an web application,without descriptive programming?

8 Answers  


how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this.

2 Answers   Accenture,


in qtp how we work with out put values and what is the process?

4 Answers  


In automation testing, while doing descriptive programing; how will u get the properties of the objects in what format, what type of a document, and by whom? Pls explain in detail. Thanks a lot

2 Answers   Quest,


How to execute a WinRunner Script in QTP?

1 Answers   Crea,


what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?

0 Answers  


How to Parameterize Object repository in QTP?

6 Answers   Cognizant, IIBM,


Categories