Python Context Menu methods fail in other mouse modes

Bug reports.
domperez
Posts: 6
Joined: Tue Oct 30, 2007 4:23 pm

Python Context Menu methods fail in other mouse modes

Post by domperez » Wed Oct 31, 2007 12:01 am

RanorexPython.ContextMenuSelectItemText
RanorexPython.ContextMenuSelectPosition
RanorexPython.PopupMenuSelectItem

The above methods will fail if the mouse coordinate mode is not SCREEN_COORDINATES, the cursor will move to the wrong position.

Thanks.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Post by Support Team » Wed Oct 31, 2007 10:30 am

This bug is fixed in the upcoming version 1.3

Please note that those methods always expect screen coordinates,
regardless of the mouse coordinate mode, because context menus
and popups are top-level windows.

Michael
Ranorex Support Team