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
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 |
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 |
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
what is the main process in QTP?
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
what is output value in QTP and how it can be used in automation testing
How to suppress warnings from the test results page?
How many types of recording modes in qtp? Which will be used when?
in my system object spy show the web application as a window based propeties ex:winedit like that and also not recording scripts also so what should i do
Explain more about the Test Fusion Report of QTP?
i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute
How to remove associated function library?
HOw to add the recovery file at runtime to the test file .
How to use setroproperty?