Abbot framework for automated testing of Java GUI components and programs
All materials Copyright © 2002-2004 Timothy Wall, All Rights Reserved

This version 0.12.3 (040611)

Getting Started with the Abbot Java GUI Test Framework

Building unit tests and functional tests (AWTUnit/SwingUnit)

The Abbot framework is a Java library for GUI unit testing and functional testing. It provides methods to reproduce user actions and examine the state of GUI components. The framework may be invoked directly from Java code or accessed without programming through the use of scripts.

View Larger Image

Screenshot

Webstart Me!

(Get Webstart here)

This overview of the Abbot system will give you an idea of the different system components and how it is used. There is also some background concerning the issues involved with Java GUI testing.

There are two ways of using this framework. One is to write the tests directly in Java code (see Tutorial 1 or Tutorial 2 for an example). Refer to the API documentation for the ComponentTestFixture, ComponentTester and Robot classes, as well as the framework tests in the test source subdirectory.

The other way to use the framework is to use a script to control the event playback and testing, which is more suitable to integration/functional testing. A script editor is provided to facilitate the latter form of test. JUnit is used as the controlling harness for running tests and suites of tests, but scripts can easily be wrapped to run in other environments. Scripts may also be used to create a demo or tutorial for an application. You can drive the actual application and provide popup annotations while it is running.

Abbot is provided under the Common Public License (CPL). Contact us via email if you require a different license.

For latest changes, see the latest news and release notes.

Please direct all questions and help requests to the Abbot user's mailing list, after searching the the mailing list archives and older discussions in the SourceForge Forums.

Join the Abbot Mailing List

 

Get the whole picture at
SourceForge Logo

 


Click to subscribe to java-gui-testing