Use Robot Tools --> Inspector, select the object and read the available properties.
Use the Edit --> Copy Rec. String to collect the recognition string for the item. Keep in mind that if a Java App, you need to use a Type statement and also collect the full recognition property to the parent frame and document.
Determine which property holds the value you need and use this as your 2nd value in the SQAGetProperty command. Some properties require you to use the SQAGetPropertyAsString.
The command looks like the following:
Result = SQAGetPropertyAsString("Type=HTMLFrame;HTMLId=< container>;\;Type=EditBox;HTMLId=<accountNum ber>","value",strRtnValue)
Replace the text in <> with the actual frame and editbox names. Also, remember tht the property name is case sensitive.
Automation Team Lead
Rental Quality Assurance