FEST-Swing 1.0a3: GUI Testing Made Easy
FEST-Swing is an Open Source Java library, released under the Apache 2.0 license, 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.
We are proud to announce the release of FEST-Swing 1.0-Alpha3.
This release includes many bug fixes and new features, including
support for editing JTable cells, custom cell editors, starting an application from a "main" method, and more:
-
Added support for editing
JTablecells. More details can be found here. - Added support for custom cell editors. More details can be found here.
-
Added support for launching applications from their
mainmethod. More details can be found here. - Updated documentation and Javadocs.
-
Added method
controlOrCommandMasktoorg.fest.swing.util.Platform. This method returns the 'Control' or 'Command' key mask depending on the operating system (e.g. Windows or Mac OS.) -
Added method
pressAndReleaseKey(KeyPressInfo)to all component fixtures to press a single key with modifiers. - Fixed issue 126: Fields can be modified even though they are disabled. Many thanks to Manuel Kueblboeck.
- Fixed issue 138: Make window disposal optional. Many thanks to J. Simmons.
-
Fixed issue 140:
selectIteminJComboBoxFixtureis not usingCellReader. Many thanks to Wim Deblauwe. -
Fixed issue 141: Add
showPopupMenutoJTableHeaderFixture. Many thanks to BA. - Fixed issue 142: Edit table cells (e.g. check box, text fields etc.) Many thanks to Simeon Fitch and Matthias Otterbach.
- Fixed issue 144: Add support for looking up multiple components. Many thanks to Simeon Fitch.
-
Fixed issue 145: Invalid mapping for '+' in
KeyStrokeMappingProvider_en. Many thanks to Juhos Csaba-Zsolt. -
Fixed issue 147:
JListFixture#selectItemsbehavior. Many thanks to Juhos Csaba-Zsolt. -
Fixed issue 152:
JListFixture#selectItems(JList, int, int)behavior. Many thanks to Juhos Csaba-Zsolt. -
Fixed issue 153: Fixtures should not allow construction with a
nulltarget. Many thanks to Juhos Csaba-Zsolt. -
Fixed issue 157:
JMenuItemFixture.click()fails on Mac OS X with apple.laf.useScreenMenuBar. Many thanks to Andriy Tsykholyas and Simeon Fitch. -
Fixed bug in
org.fest.swing.core.RobotFixture. Closing a window that is not shown resulted in anActionFailedException. -
Renamed methods
slideToMaxandslideToMininJSliderFixturetoslideToMaximumandslideToMinimumrespectively. -
Removed methods
incrementanddecrementinJSliderFixture. These methods were not communicating their intention properly and are not needed sinceJSliderFixturehas the methodsslideToMaximumandslideToMinimum.
For more information please read the release notes.
Here are some useful links:
Feedback is always appreciated :)
Alex Ruiz is a Software Engineer in the development tools organization at Oracle. Alex enjoys reading anything related to Java, testing, OOP, and AOP and has programming as his first love. Before joining Oracle, Alex was a consultant for ThoughtWorks. Alex is a DZone MVB and is not an employee of DZone and has posted 20 posts at DZone. You can read more from them at their website.
- Login or register to post comments
- 1412 reads
- Printer-friendly version
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)









