How do we Access, retriew and edit the runtime objects in
Automation Testing using QTP
Answer Posted / baba
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 |
Post New Answer View All Answers
How to use setroproperty?
What are the main differences of qtp and win runner?
Is it possible to merge two object repository files in qtp?
How to use reporter.report event in qtp ?
What are the different types of recording modes in qtp? Which will be used when?
In qtp, explain what is qrs file?
Explain the features of quick test pro(qtp)?
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
How to change the priorities of the recovery scenario properties?
What is a data driven test in qtp?
Explain how Does Run time data (Parameterization) is handled in QTP?
How many types of recording modes in qtp?
what are the utilities and drivers
What is the expert view?
What is qtp window?