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 / naina
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
objButton.Set "Example" //For Webedit opertaion
objButton.Click //For Delete opertaion
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How you can find the absolute value of the number in qtp?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
How to execute a winrunner script in quicktest professional (qtp)?
Explain the types of object repositorys in qtp?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
hi nani my doubt is how does qtp process metrix related to software process.
Explain the concept of object repository and how qtp recognises objects?
Can we run test with out adding object in object repository? How it is possible?
How does qtp identify gui object?
What is a recovery scenario?
Explain the concept of object repository?
In qtp, explain what is qrs file?
How many tabs are available to view your test in a test pane and what are they?
What are the different types of recovery operation?
how will you load the test cases in ddt?