What are SetToProperty, SetToProperty, GetToProperty scripting?

Showing Answers 1 - 3 of 3 Answers

SetTOProperty is used to temporarily modify an object property value in QTP. I say temporarily because, the change value is not stored in the OR.


GetTOProperty is used to retrieve a (or any number of) desired property value(s) of an object in QTP.


GetROProperty and Exist method can be used interchangeably. This method is used to retrieve in run-time, a property value to ensure if that object was available during a specific point in the run session.
Eg. Browser("XYZ").Page("XYZ").WebRadioGroup("ABC").GetROProperty("Value")

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions