Abbot Topics

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

This version 1.2.0-RC2

Examples

You can watch Abbot do its thing by running one of the prepared example test suites (as they would appear if run from the JUnit test runner). You may want to add "-Dabbot.robot.auto_delay=100" to make it look like a real person is running the tests:

java -cp lib/example.jar example.FontChooserTest
java -cp lib/example.jar example.MyCodeTest
java -cp lib/example.jar junit.extensions.abbot.ScriptFixture ../src/example/SimpleApplet.xml

The second example is intended to report a failed assertion, so you can see what a failed test looks like.

Note that the last example passes an Abbot script as an argument to the ScriptFixture class to run the script as a JUnit test. For a more complete description of the framework, see the overview document.

---

 

Sample the latest at
SourceForge Logo

 


Click to subscribe to java-gui-testing