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 |
What is the difference between Global and Local Data Sheets?
How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?
How to supress warnings from the "Test results page"?
How to export data present in Datatable to an ".xls" file?
Does QTP work in UNIX environment
5 Answers BirlaSoft, C1 India,
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
How do u use Database checkpoints and what are the use?
Explain quicktest professional testing process?
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
Hi experts. I want to create a framework for the Flight Reservation sample application.Can anybody tell me the files and the contents , and how to create them.Thanks
How will you test a keyboard?
Function to convert lowercase to uppercase in QTP Pls anybody can give the answer.. Thanks in advance...