Forum Discussion

sudhir_optima's avatar
sudhir_optima
Contributor
14 years ago

How to work with contextMenu which displayed on mouse over.

I have already post this issue and send the application details also. Now my developer has chnaged  has associated it to the concern object.

But still it is not working. Because the contectMenu displayed when we mouseover it. While recording the contextmenu get added and mapped. But when replay it failed to identify the object



Can any one help me, how to workaround this ?

5 Replies

  • Hi Sudhir,



    Try adding the HoverMouse operation for the target object before accessing its pop-up menu. Does this help?
  • Hi Helen,



    Thanks. Now the contextmenu get displayed using Hovermouse function. But still it does not click the required button from context menu.



    I then explore both Object Browser and Mapped name, recored Aliase name for the context menu. As the ContextMenu appeare only on omuse hover on the button, verifying it in Object Browser is not possible. As for Object browser the object must be visible right ?  So i didnt found it in Object Browser.



    Then I turn to Mapped Name and found the object, but it is different one. As in my application there are few such ContexMenu on mouse hover, the object ( Context Menu)  is different then what i am working, although BOTH HAS SAME MAPPED NAME.



    So the question is how to add this Context Menu, while not removing/Editing the previous one ?



    In Option > Engines > Name Mapping

     

    1.Map Name Automatically is Enable

    2.Automatically update name mapping items is Disable



    How both setting will help me ?
  • Hello Sudhir,


    To map a context menu, use the Object Spy tool. When you invoke its window, select the Point and fix mode. Then, go to your application and right-click the required control to make your context menu appear. Move the mouse pointer to the menu and press Shift+Ctrl+A. Use the context menu of the Object Spy window to map the menu control.