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..

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you declare a variable in qtp?

546


what is the frame work in J-meter?

1588


UFT 12.02 which ALM version will support

978


Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?

1412


what is output value in QTP and how it can be used in automation testing

1430






if anyone has idea of the interview procedure in covansys, plz send me a mail?

1516


Explain the qtp test phases.

607


Explain the features of quick test pro(qtp)?

560


Is it possible to change the values of analog recording?

561


What is clean sweep?

1367


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3042


if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp

23871


How to find array size in qtp?

572


Do you know how to connect database? Can you tell me the procedures?

539


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

1571