Not to Perform the Activity - Mouse Hover an element and click an element in the display list

Hi Team,

I am not able to perform the Mouse Hover an element and click an element.

  1. Go the Flipkart Site.
  2. Mouse hover on any header site. Eg: Electronics
  3. Click an item in the list. Eg: Apple.

Also, Not able to capture the this scenario in the Record.

I have referred the below guidance but it is not worked out.

Could you please take a look on this scenario and provide a solution to achieve this one.

Thanks in advance.

By Kannan.

Hi @kannan.nageswaran

Could you specify what your issue is? It seems to be working for me, but I struggled for a second with getting the selector for the “Apple” menu. I achieved that by:

  • opening UiExplorer
  • clicking on selector arrow: image
  • using the F2 key to temporarily disabling the selection arrow (it disables it for 3 second, you will see the counter in the bottom right corner of your screen)
  • then hovering over ‘Electronics’ to open the dropdown
  • and finally clicking on ‘Apple’ right after the selection gets activated
    (you might want to be fast here as the hover menu will disappear quite quickly)

See this very simple xaml file for reference. It is done manually, without the Record feature.
FlipcartNavigateToElectronicsApple.xaml (7.5 KB)

Hi all

I’m also trying the hover activity but it is not getting there any other option for hover.And I’m working on chrome because on ie it is working .can anyone will try on chrome as well

@kannan.nageswaran I had deeply studied all the comments for 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.

  1. Select from the menu “Hover” activity

  2. Indicate the element inside your browser

  3. Create a variable for the Hover activity and name it like “selectedElement” and change the type to “UiPath.Core.UiElement”

  4. Below the Hover select a Click Text activity

  5. In the properties panel, give the variable in the Element box

  6. Write the text you want to choose from the dropdown in the text box of Click Text activity

  7. Drag a Close Tab activity at the end of the process

I hope this method will help a lot if not you… :grinning: