assertj-swing icon indicating copy to clipboard operation
assertj-swing copied to clipboard

Depending on the X11 version moving the mouse with the robot fails

Open croesch opened this issue 12 years ago • 0 comments

Issue by Martin Ginkel from Mon, 2 Nov 2009 04:52:17 -0600 Originally opened as http://jira.codehaus.org/browse/FEST-247


When running tests that perform button or Table cell clicks, this fails.
The mouse cursor does not move at all, therefore the click events do not reach the button.

The button-press events are correctly generated: if the mouse is over e.g. the root window, the menus of the
windowmanager pop up.
The tests in question work well with OpenSUse 10.3 and xorg-x11-libX11-7.2-75.

The problem might be a problem with the AWT Robot underneath the Fest robot.
When trying to reproduce the problem with an old Abbot test, it shows the same behaviour.
But Abbot allows to switch the mode of the Robot to work directly on AWT-Level (inject the mouse events directly into
the AWT-EventQueue). In this AWT-mode the Tests work well.


votes (original issue): 0 watches (original issue): 0

croesch avatar Feb 08 '14 12:02 croesch