I am working on a windows client server application. In one of my scripts, I want to test the content appearing on a popup menu(comes up by right-click on a TreeView object). The content is menu items on the popup menu(text verification). The main thing I am trying to figure out is the object recognition to be used for that popup menu.I already tried the following things (also mentioned are the problems faced):
SQAGetProperty - Object not found(because of incorrect object recognition)
Error Handlers - This was for testing if a certain text (popup menu item) appears on the popup menu. No error code for 'Object Not found'.

I would like to discuss abt this topic and any help is appreciated.