Capture objekt tree structure of elements that disappear
- 5 years ago
That's the thing... this isn't an "object" like others. Menus like this are not something you're going to capture with Object Spy or such... They are properties of some other form... specifically, as the documentation says, MainMenu or PopupMenu or something like that. So, you're not going to be able to "map" it or see the parent... that's not how TestComplete sees these objects.
https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/window-and-process/mainmenu-property-window-object.htmlSo, unfortunately, I'm not sure you're going to be able to do precisely what you want with Object Spy or something like that. You should be able to examine/iterate through the "Items" property of the menu object to find out the information you want to know...
https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/menu/items-property-menu-control.html