FEST-Swing

FEST-Swing is a Java library that provides a DSL-oriented, fluent interface for functional Swing GUI testing. This library provides an easy-to-use API that makes creation and maintenance of GUI tests simple and easy.

Feature overview:

  1. Simulation of user interaction with a GUI (e.g. mouse and keyboard input)
  2. Reliable GUI component lookup (by type, by name or custom search criteria)
  3. Support for all Swing components included in the JDK
  4. Compact and powerful API for creation and maintenance of functional GUI tests
  5. Ability to embed screenshots of failed GUI tests in HTML test reports
  6. Can be used with either JUnit or TestNG
  7. Experimental Groovy Builder support (coming soon!)

FEST-Swing requires Java SE 5.0 or later.

It can be downloaded here.