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 |
cud anybody please tell me the full form's of the extention files that we use in real time---.tsr,.mtr,.qrs
How to handle run time errors?
What is Environment Variable and when we apply this in QTP?
How to use conditional loops in qtp ?
In key word driven framework,we will rename the logical names of objects,why?
what is the mediater between qtp and application/project in automation testing?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
difference between multiple parameterization and data driven wizard in QTP?
How to find array size in qtp?
what is the defference between calling ation and called action?
1.how can we report the QTP test result in a different excel sheet 2.
Differentiate the two Object Repository Types of QTP.