Sunday 18 August 2013

Introduction of GetROProperty

GetROProperty allows us to get the current value of a test object property. This requires the test object’s corresponding runtime object to exist. QTP will touch the runtime object, and retrieve the value of the property from it.
For example, if the text of the Notepad window changed from when that object was recorded, this command will retrieve the updated value:
Msgbox Window(”Notepad”).GetROProperty(”text”)

No comments:

Post a Comment