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

Example –

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

Additional Reading

Understanding enigmatic TO and RO property