amithsid
11 years agoContributor
How to work with Menu-bar items-Cannot be Spied
Hello,
I am not able to spy menu bar.
The tree structure of the path is also failing at times-
obj.Click("item1|item2|item3");
The text recognition is also failing at times.
Please help.
Thank you,
Amith n g
I am not able to spy menu bar.
The tree structure of the path is also failing at times-
obj.Click("item1|item2|item3");
The text recognition is also failing at times.
Please help.
Thank you,
Amith n g
- Typically you'll want to use the MainMenu or StripMainMenu property of the Form object.
More info on menus here and here.
Ex1:myForm.MainMenu.Click("File|Exit");
Ex2:myForm.StripMainMenu.Click("File|Exit");