How to select a menu when hover on an icon

Hi,

In a website there is an Icon, whenever we mouse hover on it, it will give a list of items. In that list some are disabled/enabled. I want to check a specific item is enabled or disabled.

The Icon looks like below image.

image

The Items are:

image

Please help to automate this process.

Regards,

Hi @raju_alakuntla ,

First check the html structure of these menu items using code inspection in browser, once you found the unique class or id or tag used in these, you can use a find children activity to filter these items.

Please let me know once you found the element structure, I can help on hovering and then use Find Children.

Hi @Aakash_Singh_Rawat ,

I am sharing the screenshot of the html structure.

Please help me

Regards,

Ohhhh, Can you press ctrl+f in elements tab and copy //li[@style=‘width:max-content’]
If you are able to see exact 7 elements then you can proceed with UiPath logic.

Or you can use //ul[contains(@class,‘sub-list-export’)]//li alternatively.

I am getting this

image

Regards,

You have copied so ’ (single quote is changed), please use ’ in filter box by entering manually.

I am getting same picture even manually typing.

Regards,

@raju_alakuntla

use select item and use get attribute to check whether the text is enabled or not

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.