difference between GetRoProperry and GetToProperty.and
where we've to use exactly those properties
Answers were Sorted based on User's Feedback
Answer / sandeep guttikonda
GetROProperty and GetTOProperty both comes under methods in
QTP.
1) GetROProperty: We can you this method to capture runtime
property value into variable.
OR
We can use this method to capture the object property value
from the application
Code:
For window Application:
Variable = Window("Window Name").Dialog("Dialog
Name").Object("Object Name").GetROProperty("Property Name")
For Web Application:
Variable = Browser("Browser Name").Page("Page Name").Frame
("Frame Name").Object("Object Name").GetROProperty
("Property Name")
Example: To know the whether the push button is enabled or
not during runtime.
Variable = Window("Flight").Dialog("Login").Winbutton
("Start").GetROProperty("Enabled")
Here if the button is Enabled during runtime the Variable
is asgined with "True" else "False".
2) GetTOProperty: We can you this method to capture Test
Object property value into variable.
OR
We can use this method to capture the object property value
from the Object Repository.
Code:
For window Application:
Variable = Window("Window Name").Dialog("Dialog
Name").Object("Object Name").GetTOProperty("Property Name")
For Web Application:
Variable = Browser("Browser Name").Page("Page Name").Frame
("Frame Name").Object("Object Name").GetTOProperty
("Property Name")
Example: To know the value of Push button Enabled propety
from the Object Repository.
Variable = Window("Flight").Dialog("Login").Winbutton
("Start").GetTOProperty("Enabled")
Here it will give the value of the property that is stored
in the object repository.
Please le me know if you need further info.
Thanks.
Regards,
Sandeep Guttikonda.
| Is This Answer Correct ? | 19 Yes | 0 No |
Answer / andy
GetToProperty: returns the specific property value from the
test object properties descriptions.
GetRoProperty: returns the current property value of the
object durting the test run.
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / rida
GetRoProperty:--(Get Run Time object Property)
At the time of execution, properties of an object may
change. These properties at execution time is called
RunTime object property.
EG:- x co-ordinate of insert order button should be 125.
(OR)
In some web applications like in Naukri some of
objects are blinking that type of object is run time
(OR)
ScreenSavers.
GetToProperty:-- The property of an object at the time of
learning(recording)
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / raju
RO means: Run Time Objective
TO means: Test objective
For example one “OK” is available on one window. That
button contains for example 24 properties, particular 1 or
2 more mandatory properties stored into the OR.
If u wants to know “OK” button all objective properties
using GetRoProperties.
If u wants to know “OK” button which are stored into the OR
using GetToProperties.
according to my knowledge this is correct.
Raju
9823257761
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / hari
GetTOProperty: Gets the Test Object Property i.e., it gets
only the mapped object properties value from the OR.
GetROProperty: Gets the Runtime Object Property i.e., it
gets any of the object properties value from the complete
list of properties available for that particular control.
| Is This Answer Correct ? | 5 Yes | 0 No |
Hi, My Application in Microsoft Dynamic Navision, is it compitibale with QTP? if yes then let me know...and also let me know is there any other automation tool availabe to automate Microsoft Dynamic Navision. Thanks Sandip. +91-9714177088
How do u write script in qtp? where do u write?
HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.
Hi I able to record IE object but not able to record mozilla firefox 3 object using QTP 10. i don know wats the problem????
Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance
What is the file extension of the code file & object repository file in QTP?
what are the environment variables,how do you use them. give an example.
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
How you are developing the script? Using record and play back or manual?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
1.what is test automation life cycle?
How can i check items sorted or not in a weblist ? Give me the script for this...