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

Explain runtime dynamic settings?

2027


What is the differences between image check point and bit map check point?

581


Explain the parameter in qtp?

582


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1570


What are the various types of Actions in UFT?

593






in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?

6330


Brief the process of testing with UFT?

636


I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?

1768


Explain different types of action in qtp?

576


How to handle the exceptions using the recovery scenario manager in qtp?

572


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

1540


What is the qtp testing process?

599


How to modify the text checkpoint?

616


How to explain a banking project in interview as a test engineer???

2599


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?

1455