HI ,
I am trying to click on an menu item which appears on mouse hover. I have tried capturing the menu item by using click activity and press F6 to capture the hover able menu item but while running the work flow not able to click on desired menu item. Getting below error
UiPath.UIAutomationNext.Exceptions.NodeNotFoundException: Could not find the user-interface (UI) element for this action.
Possible solutions:
• Ensure application is opened and the UI element is visible on the screen at execution time
• Edit the Target of the UI activity and use Validation to debug the issue.
• If needed, re-indicate the element as its properties might have changed
• Use “Check state” activity to check the application state before executing the action
• Increase the “Delay before” value to allow time to the application to render entirely and become responsive
After Hover, are you using simulate Click ?
@MohammedShabbir i have tried Simulate and Hardware both .
Hi @vivek.srivastava
Use Hover activity on main menu element.Add Check App State or Element Exists to wait until submenu is visible.Then use Click activity on submenu.
Set Click > Input Mode = Hardware Events.
Avoid F6 selector capture; re-indicate element after hover.
If issue persists increase DelayBefore or use Anchor Base with stable parent selector.
@vivek.srivastava
You can try by using input method is hardware And also,
you can check whether after clicking on hover manually check whether URL is changing or not, if changing you can check the before clicking the hover button and after clicking hover ui element, compare the both urls, if you have pass those extra text in url directly you can change the URL instead of clicking the hover ui element. This will effective way and more secure
Happy automation
HI @yedukondaluaregala URL is changing with some id like

which i don’t think it is good way . i referred some you tube videos in which same steps performed and able to click on hover able menu item. But in my case it is not working.
@vivek.srivastava
Check whether you can get that value from anywhere in your application, if not then add check the selector by using click activity. Use Uiexplorer to modify the selector.
Happy Automation
@vivek.srivastava Hi Vivek,
Yes, the issue mainly looks related to the selector. The current selector is using a long CSS selector and idx, which are not reliable because they can change when the page reloads or when the UI structure changes.
Please avoid using CSS selector and idx in this case. Instead, try to build a stable selector using reliable attributes like visible text, aaname, title, role, or any unique attribute available for that menu item.
For hover-based menu items, first use Hover on the parent menu, then wait until the submenu item is visible, and then perform the Click activity on the submenu item. This should make the automation more stable