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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hai anyone please "Explain about Framework in QTP?"

1856


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

823


What are output values and why they are used ?

820


What are the methods of the TextStream object that are used for reading from a text file?

1900


Describe how Smart Identification is used

1903


what QTP Options do you know?

3148


How many types of run modes are there in qtp?

803


Explain the difference between call to action and copy action?

726


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

813


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

1635


How to write business scripts using object repository with different scenarios

1611


What is qtpro?

813


What are the advantages of Object Repository?

816


whare exactly we have to use functions and sub routain

2036


How to attach a file to TD?

868