Jemmy is a set of libraries and tools to test UI applications (mostly Java-based: Swing, AWT, SWT, JavaFX)
Jemmy is a set of libraries and tools to test UI applications (mostly Java-based: Swing, AWT, SWT, JavaFX; but it's being extended to native right now).
Jemmy site is here: http://jemmy.java.net/
Jemmy provides capabilites to work with UI elements and controls in high-level terms: e.g. not clicking on TextField and enter text, but use Lookup
to find required field by various criteria, and work with provided interfaces for each entity -- like Selectable
, Editable
, etc.
Also Jemmy provides methods to correctly work with UI threads, which requires special attention in UI testing.
Another remarkable feature is images support. Jemmy allows to safely create screenshots, compare them with various comparators and calculate images diffs.
Latest addition is JemmyFX which covers JavaFX. It is a part of OpenJFX (open-sourced part of JavaFX): http://hg.openjdk.java.net/openjfx/2.1/master/tests/ or for javafx 8.0: http://hg.openjdk.java.net/openjfx/8/master/tests/