Multiple choice technology testing

You can retrieve or modify property values of the test object during the run session by adding ……….statements in the Keyword View or Expert View.

  1. GetROProperty & SetROProperty

  2. GetTOProperty & SetTOProperty

  3. GetTOProperty & SetROProperty

  4. GetROProperty & SetTOProperty

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

GetTOProperty retrieves property values from the Test Object definition in the Object Repository, while SetTOProperty can modify these property values temporarily during runtime. This differs from RO (Runtime Object) properties which are read-only values from the actual application. The TO properties control how QTP identifies and interacts with objects.

AI explanation

GetTOProperty and SetTOProperty are used to retrieve or modify Test Object properties (the properties QTP/UFT uses internally to identify an object) during a run session. GetROProperty/SetROProperty instead deal with the Run-Time Object's actual properties in the application, which is a different purpose.