Forum Discussion
Hi AlexKaras,
There is an action in keyword test of right click on AfxWnd90u to open the popup menu, then I add the script and get some message to verify is the script really can check the menu state or not.
After I applied the asterisk and these are what shown in test log.
The menu item 'Light' was clicked. (add. info show the tested object is the PopupMenu)
Cannot obtain the popup menu. (add. info show the tested object is Image View 1)
Is it means that actually the script is testing the wrong object? Maybe due to this code?
w.PopupMenu.Items(8)
Hi Josh_147,
Could you please explain a bit more about possible states of the menu item? That would be great if you can prepare a sample application with this control - in this case, the community can play with it and find a solution.
- Josh_1475 years agoContributor
Hi TanyaYatskovska ,
I had tried to change the index number and there is no more issue. Thanks a lot!
- TanyaYatskovska5 years agoSmartBear Alumni (Retired)
Happy to hear this, Josh_147 :)
Related Content
- 4 years ago
- 2 years ago
- 9 years ago
Recent Discussions
- 21 hours ago