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 about the test fusion report of quicktest professional?
assume i have few url link how will i dynamically call then using descriptive programming?
what is run-time data?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
How the exception handling can be done using quicktest professional (qtp)?
What is the difference between call to existing action and copy of an action?
How can you identify the browser and its information using QTP script?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
Why script error occur in between recording in qtp?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
What is the difference between local and shared object repository in qtp?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
If I change the property value at runtime is it effect is object repository?