Provides interfaces for widget identifier strategies contributed via the com.windowtester.recorder.identifier.IWidgetIdentifierDelegate
extension point.
Provides support for running WindowTester Swing UI unit tests as test cases under JUnit.
Provides classes and interfaces for writing UI tests using the WindowTester API.
WindowTester test cases are subclasses of junit.extensions.UITestCase which is a
special JUnit test case, tailored for running User Interface (UI) tests. These test cases interact with
the UI using an instance of IUIContext which is retrieved from
the UITestCase using it's junit.extensions.UITestCase#getUIContext() method.
IUIConext supports common UI actions like entering text,
clicking widgets, dragging and dropping components and so on.
UI Tests are made robust using Conditions. Conditions implement the
ICondition interface and are commonly
used to cause tests to pause until some condition becomes true (for instance
once a file is created on the filesystem). Conditions can also be registered
with the runtime's IConditionMonitor and used
to trigger IHandler instances. Shell Conditions
(implemented as IShellConditions) are
special conditions used to test conditions on shells. Registering handlers to
handle shell conditions is helpful in cases where shell appearances are hard to predict
(such as progress monitors). Shell handlers are associated with the runtime through
the UI Context's IShellMonitor instance.
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see: