Manfred_F
5 years agoRegular Contributor
update object browser by script
I'd like to view contents of an application's context menu. Using TC closes this context menu.
Can I update the object browser by script e. g. every minute?
Hi,
If I understand correctly, the individual items are not selected using Object Spy, therefore you want to use the keyboard input to select an item. It looks like the mouse movement doesn't allow doing this. I find this quite strange actually.
In this case, you need to open the menu in your test, then you can call the Refresh method for the parent object of this menu (you can explore this in Object Spy), and then call the Keys action to simulate the keystrokes: Keys("[Down][Down][Enter]") to select a needed item.
I hope this helps.