Difference between a Runtime Object and a Test Object?
Question ID: 107196
1
0

In UFT, what is the difference between a Runtime Object and a Test Object?

Marked as spam
Posted by (Questions: 386, Answers: 64)
Asked on October 24, 2016 2:17 pm
633 views
Answers (1)
1
Private answer

The Runtime Object is the actual object in the application under test. The Test Object is a set of properties that UFT uses to identify and check the Runtime Object.
The set of properties is usually a sub-set of the full Runtime Object properties. Test Objects are stored in the Object Repository.

You can get the Test Object Properties using GetTOProperty:

object.GetTOProperty (Property)

You can get the Runtime Object properties using GetROProperty:

object.GetROProperty (Property, [PropertyData])

Always use GetROProperty to get the *actual value* of *current properties* of the object in the Application Under Test.

Marked as spam
Posted by (Questions: 16, Answers: 807)
Answered on October 24, 2016 2:18 pm
0
Thank you that is helpful.
( at October 24, 2016 2:19 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top