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
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
Explain about business process component? types and usage?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
How can you send user defined messages to test report?
can u explain relative path architecture framework in qtp?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
what is the difference between development and testing
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
How to import a test case present in ".xls" file to TD under a Test set?
What are the different types of qtp test assets and their extensions?
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
How to handle the exceptions using the recovery scenario manager in qtp?
What is fragmentation and paging?
Explain advantages and disadvantages of ddf?