|Problem with hidden Menus in MenuBar for JavaFX AUT [message #1779629]
||Wed, 10 January 2018 12:04
| Tobais Liepold
Registered: January 2018
I am trying to test a JavaFX application with Jubula 22.214.171.124 and came across some problems testing the menu bar.
The application has several views and all of them using the same menu bar with 5 menus. For one view the menus 2 and 3 are hidden so the menu bar shows only 3 menus (1, 4, 5).
When I trying to check the existence of the MenuItems in the fourth menu in the menu bar, which has the two menus hidden, by textpath or by indexpath (using index 2/1) I get an Action Exeption saying "Execution Error: Index: 3, Size: 3". If I check the existence of MenuItems in fourth menu using the index 4/1 I get a step failed because there are only 3 menus in the menu bar.
Checking the first menu works on all views via textpath and indexpath. And in views, where no menu is hidden, everything works fine.
So the problem occurs only for views, where some menus are hidden, and for menus, that are located after the hidden ones.
Has anyone a solution for this problem?
Thanks and kind Regards
Powered by FUDForum
. Page generated in 0.02000 seconds