Forum Discussion

yogeshd007's avatar
yogeshd007
New Contributor
12 years ago
Solved

how to have a mouse hover operation and verify the menu content displayed

Hi,

I wish to verify the menu content displayed over the mouse hover action over an object.

For eg:

The menu content displayed is dynamic depending on the user login credentials / admin rights.

When mouse hover for an object, it displays the menu and menu content/s are to be verified.



Please help
  • Hi Yogesh,



    Use .HoverMouse() method to hover mouse over the required UI element.

    Use then the regulair techniques to get the context menu and work with it.

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Community Hero
    Hi Yogesh,



    Use .HoverMouse() method to hover mouse over the required UI element.

    Use then the regulair techniques to get the context menu and work with it.
  • yogeshd007's avatar
    yogeshd007
    New Contributor
    Done...

    For mouse hover, I did not get (or I didnt try); I used the Click method

    I used the wItem() property to compare

    Works fine