Skip to main content
Question

Capture an option from a menu that appears when mouse is move over a label


Forum|alt.badge.img+1

Hello. How can I record an option that shows only when mouse is over an specific label?

Thanks for the help.

8 replies

Lu.Hunnicutt
Pathfinder Community Team
Forum|alt.badge.img+12
  • Pathfinder Community Team
  • 83 replies
  • April 9, 2025

Hi ​@ZaremPatricia Let me tag some folks who may be able to help!

@Marc Mueller 

@Vatsy 


zaid.chougle
Forum|alt.badge.img+5
  • Navigator | Tier 3
  • 55 replies
  • April 9, 2025

Hey ​@ZaremPatricia , if the position is same on every instance, you can use Mouse → Move action and then when the option comes up you can perform the next operation, try it and let me know.


Marc Mueller
Pathfinder Advocate | Tier 6
Forum|alt.badge.img+15
  • Pathfinder Advocate | Tier 6
  • 276 replies
  • April 9, 2025

Hi ​@ZaremPatricia,

or if it is a web based task you can try with the correct DOMXPath...🤔

 

How to use the developer tool in Chrome to get the DOMXPath I explain here:

 

Cheers

Marc


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+10
  • Automation Anywhere Team
  • 570 replies
  • April 9, 2025

...or if it has the same appearance but a different location each time, you can use the Image Recognition package to get the coordinates of the button and use the Mouse package to move the mouse to the coordinates and click!

So many great options from ​@zaid.chougle and ​@Marc Mueller !


Vatsy
Pathfinder Advocate | Tier 6
Forum|alt.badge.img+14
  • Pathfinder Advocate | Tier 6
  • 154 replies
  • April 9, 2025

Hey ​@Lu.Hunnicutt! Thanks for the tag! Great answers by ​@zaid.chougle, ​@Marc Mueller, and ​@Aaron.Gleason here!

I just want to add one more option of using Simulate Keystrokes as the question says that unless the OP hovers over on a label with a Mouse the other option doesn’t come up.

You can use TAB key strokes to reach to the required option and then use RETURN keystroke to select the required option on the screen. This only applies if the label object remains at the same place each time you access it.

Hope this helps!


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 2 replies
  • April 9, 2025

Thanks for all the advises. Tried to use the Call a JavaScript function from Browser package with the intention to pop up the menu instead doing the mouse movement (which didn’t work) and I got “The captured UI element in this application is not currently supported”.

I’m using AA Community Edition. Does the message could be to the app edition or would be something about how the website is designed/coded?


jasthi bhaskar
Navigator | Tier 3
Forum|alt.badge.img+5
ZaremPatricia wrote:

Thanks for all the advises. Tried to use the Call a JavaScript function from Browser package with the intention to pop up the menu instead doing the mouse movement (which didn’t work) and I got “The captured UI element in this application is not currently supported”.

I’m using AA Community Edition. Does the message could be to the app edition or would be something about how the website is designed/coded?

 

 ​@ZaremPatricia , The error is more likely related to how the website is designed/coded than the AA Community Edition. The website’s UI element may use non-standard technology, dynamic rendering, or event handling that AA Browser package can’t reliably interact with. The Community Edition supports the same Browser package actions as the enterprise version,

so the limitation isn’t edition-specific.

The Universal Recorder may help capture the hidden menu if you manually hover over the label to make it visible during recording. However, to reliably automate it, try:

  1. Use Universal Recorder:
    • Start the Recorder in Universal mode.
    • Hover over the label to reveal the menu, then capture the desired menu option.
    • Test the bot to ensure it works consistently.
  2. Use Simulate Keystrokes (e.g., {Tab}, {Down}) if the menu supports keyboard navigation.

If you test this and still face issues, let me know for a more targeted fix!


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 2 replies
  • April 14, 2025

Hello ​@jasthi bhaskar 

Page doesn’t have map the keyboard navigation for the menu in matter.

When I run the bot (actions previously recorded using universal recorder) doesn’t reveal the menu either and the action executed is different that result I expect.

Would appreciate any other fix/idea/proposal you may have. Thanks!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings