For a java application, I need to click a dynamic (specified in an argument) menu item that is 3 levels deep.
For example, I click the following 3 menu items to ultiimately click Railroads:
Industrials-> Road & Rail-> Railroads.
I use the Find Element to locate the Railroad menu item and set Found Element output variable.
But I cannot figure out how to click this menu item when running my workflow.
How can I find and click the menu item’s Parent menu (and it’s Parent menu) or is there a an alternate way to click a submenu item without knowing it’s multilevel hierarchical path?
With a one level deep submenu, I use the Get Ancestor activity to locate the target menu item’s parent and then I use the click activity to click the parent menu item first, then I use another click activity to click the desired target menu item. But a multilevel menu item has multiple ancestors, and I have not figured out how to find each one.