I’m trying to develop a robot that downloads XML files for a company. To do this, it needs to access an application and navigate within it. When navigating the application, it needs to access some options within a drop-down menu, as you can see below
But, these menus open and close dynamically. And every time I open the application, some drop-down may or may not be open. This causes the Robot to not be able to find the element every time. How do I resolve this?
If that does’nt work you will have to make something which detects if your option is available or not, and then clicking the drop-down menu to make it appear.
To do this you will have to use Check App State: Activities - Check App State (uipath.com)
You should use a modern Click-activity with validation on if the underlying menu item appears, and then set “Retry” to True.
This will make the robot click the overlying menu item untill the underlyding menu item is visible.