Skip to content

r4fterman/windowtester

 
 

WindowTester Pro

Build WindowTester Static Badge Static Badge GitHub License Maven Central Version

Disclaimer

This repository is cloned from the original Google WindowTester Pro code base. This repository focuses on getting Java/Swing UI under test.

The part of Eclipse/SWT is out of scope and has been removed in the active branches.

Introduction

WindowTester Pro is a UI test generation tool for testing Swing Java applications. WindowTester Pro eliminates the need to manually create test cases to test GUIs by automating the process of GUI testing. Using WindowTester Pro, developers can easily create tests for every GUI they create.

The tests generated by WindowTester Pro are standard JUnit tests thus they can be run within your IDE, or they can be automated to run using Maven.

Features

  • Write automated UI checks as code in JUnit style
  • Check the state of any (Swing/AWT) UI elements using assertions
  • Apply UI interaction like keystrokes, mouse clicks, and more

Requirements

  • JDK 21
  • JUnit 5

Supported platforms:

  • Windows
  • Linux
  • macOS

Artifacts

The runtime library provides base functionality so WindowTester can operate on a screen:

<dependency>
    <groupId>io.github.r4fterman</groupId>
    <artifactId>com.windowtester.runtime</artifactId>
    <version>5.11.3</version>
</dependency>

The runtime library provides base functionality so WindowTester can operate on Java/Swing:

<dependency>
    <groupId>io.github.r4fterman</groupId>
    <artifactId>com.windowtester.swing.runtime</artifactId>
    <version>5.11.3</version>
</dependency>

Abbot provides robot functionality to interact with the UI:

<dependency>
    <groupId>io.github.r4fterman</groupId>
    <artifactId>abbot</artifactId>
    <version>5.11.3</version>
</dependency>

The recorder library provides functionality to record a manual UI interaction and replay it automatically:

<dependency>
    <groupId>io.github.r4fterman</groupId>
    <artifactId>com.windowtester.swing.recorder</artifactId>
    <version>5.11.3</version>
</dependency>

License

This project is licensed under the Eclipse License v1.0.

About

Automatically exported from code.google.com/p/windowtester

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.0%
  • HTML 2.0%