In QTP each test object supports the following methods
GetRoProperty
GetToProperty
SetToProperty
GetToProperties
What is the difference between a RO-property and a TO-property and why can I only set a TO-property and not an RO-property?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The difference between RO-Properties and TO-Properties are that TO properties refer to the properties as they exist in the Test Object saved in the test (i.e. in the object repository or as described in descriptive programming) and the RO-Properties refer to the RunTime object (i.e. the object as it appears in the Application Under Test (AUT)).
From this distinction a few things arise
In addition to the QTP specific properties some technologies also support accessing the native object’s properties via the
.Objectproperty of the test object.