Returns the value of the specified identification property from the test object description.QTP-gettoproperty

Example –

Sub GetTOProperty_Example()
'The following example uses the GetTOProperty method to retrieve ‘the "ProgId" property from the ActiveX test object description.

With Window("Date").ActiveX("Calendar")
ProgId = .GetTOProperty("ProgId")
End With

End Sub

Additional Reading

Understanding enigmatic TO and RO property