if there is a web table of having row and colmns.a button is
placed at 2nd row's 3rd column which is worked for both edit
and delete..how to write script for the button to test both
operation on the web table using desriptive programing..
plz help me on script wheather using getroproperty
Q2)what is the command for taking valiue from a web table in qtp
Answer Posted / ganesh kumar
Using Descriptive Prograaming first identify the Properties
that are unique to recognize the webtable. After use
the 'ChildItem' method of webtable and create a Dynamic
object Model and then use the GetROProperty to fetch the
name of the button placed at 2nnd row and 3rd column.
Ex:
set objButton=Browser().page().frame().webtable().childitem
(2,3,"WebButton",0)
strname=objButton.getroproperty("name")
msgbox strname
The Above code Displays the name of the Button placed at
2nd row and 3rd column
| Is This Answer Correct ? | 24 Yes | 2 No |
Post New Answer View All Answers
Is it possible to change the values of analog recording?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
Does quicktest professional (qtp) is unicode compatible?
What is Distributed testing? How does UFT support it?
Where to use function or action?
How many types of object repository in qtp?
what is impact analysis on regression testing?
UFT 12.02 which ALM version will support
What is method name to compare two XML files.
How to modify object property in qtp ?
Is it possible to call from one action to another action in qtp?
What is a programmatic description?
1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins
How does qtp identify the object in the application?
Why is Client side image is preferred over server side image?