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
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
How to analyzing the checpoint results?
how to know no.of mails in our g mail by using vb-script
How to create Reusable and Multiple Actions?
What are the different recording modes?
How you can write contexts to text file in qtp?
How will you check that your test cases covered all the requirements?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
How does QTP identify an object?
How smart identification works in qtp ?
What is checkpoints for qtp?
how to convert 100 into hundred repees only and viceversa
Explain different types of action in qtp?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz