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 |
What is data driven testing in QTP?
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
how to know no.of mails in our g mail by using vb-script
How to maintain the old scripts in QTP?
what is command for executing files?
1.IF SOME OBJECT IN APPLICATION IS NOT IDENTIFIED BY QTP? HOW WILL YOU OVERCOME THIS? 2. WHEN AND WHYDO U GO FOR DESCRIPTIVE PROGRAMMING? 3. WHAT IS THE DIFFERENCE BETWEEN VB AND VBA? 4.WHAT ARE THE REGULAR EXPRESSIONS YOU USED? 5.IF ANY REQUIREMENT IS ADDED IN YOUR PROJECT, HOW WILL YOU PROCEED TO DERIVE THE TEST CASES AND HOW WILL YOU PERFORM AUTOMATION FOR IT?
CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
what type of frame work used in your company?
WHAT IS PARAMITARIZATION?
How to use Regular Expressions in QTP
hi all need one help . i want scroll down and up but thing the holl page is taking webtable. i need to scroll down and up using scroll tab any bodu knows plz help its urjent regards balaji