Over a million developers have joined DZone.

FEST-Swing 1.2: GUI Testing Made Easy

·

I’m proud to announce the release of FEST-Swing 1.2!

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

  dialog.comboBox("domain").select("Users");
dialog.textBox("username").enterText("leia.organa");
dialog.button("login").click();
dialog.optionPane().requireErrorMessage()
.requireMessage("Please enter your .*");

This version contains many new features, improvements and bug fixes. For example:

  • Better support for internationalization
  • Improved support for testing JTables and JTrees
  • New assertions for verifying tooltips and client properties on Swing components
  • New support for editable JComboBoxes as editors of JTable cells
  • New support for testing JProgressBars
  • New support for handling System.exit
  • New support for testing containers (e.g. JPanels) without a JFrame or JDialog
  • Fixed threading issues in ScreenLock
  • And much more!

For more details, please read the original announcement.

Links

Feedback is always welcome :)

 

 

Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}