With Click Activity UiPath is not able to detect the element at all. I got this message “The UiElement id no longer valid”. Then I tried Click “Click Image Activity” for which I enabled “Simulate Click” option. No luck with that as well.
@surbhi I had deeply studied all the comments to your help. However, most of the solutions I tried myself did not work. I propose to you a little technical way of handling this type of dropdowns which only appear upon hovering.
Please follow the steps below at your environment and let me know if it worked.
Select from the menu “Hover” activity
Indicate the element inside your browser
Create a variable for the Hover activity and name it like “selectedElement” and change the type to “UiPath.Core.UiElement”
Below the Hover select a Click Text activity
In the properties panel, give the variable in the Element box
Write the text you want to choose from the dropdown in the text box of Click Text activity
Drag a Close Tab activity at the end of the process
Tried and proven solution thanks to everyone who had commented above!
In the web browser, hover the button to let sub menu appear. Move your mouse to the item under the sub menu and right click, prompting the browser choices appear. Leave that open and ignore it.
Go to your UIPath Studio and select on “Indicate on Screen” for your “Click” activity. If your sub menu still remain open without the right click browser prompt, congratulations, you will now be able to select the sub menu as it “hang” on the screen, ready for your Click to capture the UI for selecting.
You can click on hovered item by first using hover activity and in properties mention the cursor position by setting x and y offset to desired position. then use a click activity select the element by setting the same offset in cursor position in the click activitie’s property.