How do we Access, retriew and edit the runtime objects in
Automation Testing using QTP
Answers were Sorted based on User's Feedback
Answer / kumar
To access runtime objects we can use GETROProperty
and SETTOProperty to change the TESTOBJECT property in QTP.
Kumar.rnv@gmail.com
Broadridge
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / nalini
We can access the runtime objects by its properties. Ex:
GetROProperty method
Is This Answer Correct ? | 3 Yes | 0 No |
We cannot edit runtime objects in Automation Testing, bcoz
Runtime objects means the Objects available in AUT,
we can only use the properties available for objects and we
can change the property/properties available in OR during
runtime by using SETTOPROPERTY
We can retrieve the property and its value by using
GetRoProperty
eg:
dialog("Login").Activate
dialog("Login").WinButton("OK").SetTOProperty "text","Cance"
print dialog("Login").WinButton("OK").GetROProperty("text")
it returns "Cance"
it is changing the property value during runtime.
please check it once in ur QTP
Is This Answer Correct ? | 3 Yes | 1 No |
How comfortable are you in VB scripting?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
What is an optional step in qtp ?
What is synchronization point in QTP?
is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP
what are the qtp tester responsibilities?
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
how to identify an object which is not in the object repository identification can be done using descriptive programming.
what is the purpose of QTP?
How do you use the parameters.input parameters and out put parameters.
I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.
Suppose I want fail that check point? How can you do that?