Returns the current value of the specified identification property from the object in the application.QTP-getroproperty

Example –

Sub GetROProperty_Example()
'The following example uses the GetROProperty method to retrieve ‘the Y coordinate of the AcxCheckBox object relative to the top left
'corner of the screen.
Set Value = Browser("Flight").Page("Flight").AcxCheckBox("LogicalName").GetROProperty("abs_y")
End Sub

Additional Reading

Understanding enigmatic TO and RO property

If you want to keep track of further articles on UFT (QTP). I recommend you to subscribe by Email and have new UFT articles sent directly to your inbox.

Subscribe to get free updates on UFT!

LearnQTP is the most popular site on UFT (formerly QTP).

Enter your first name and email address below to instantly subscribe and download an eBook on Optimizing UFT Scripts. In future, we will make sure you get new tips & tricks on UFT delivered direct to your email box.

Please check your email and confirm free subscription!