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
Explain runtime dynamic settings?
What is the differences between image check point and bit map check point?
Explain the parameter in qtp?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
What are the various types of Actions in UFT?
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?
Brief the process of testing with UFT?
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 ?
Explain different types of action in qtp?
How to handle the exceptions using the recovery scenario manager in qtp?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
What is the qtp testing process?
How to modify the text checkpoint?
How to explain a banking project in interview as a test engineer???
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?