FEST-Swing 1.2rc: Swing UI Testing Made Easy

by Алекс Руис on April 27, 2010

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

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.

This is the last release before 1.2 final. If no regressions are found, 1.2rc will be promoted to 1.2 final within a month.

Release notes

Bug

  • [FEST-23] – Deadlock when running TestNG with multiple threads (issue 122.) Thanks to Dan Dyer.
  • [FEST-148] – JTreeFixture.selectPath/selectRow -> should click into the center of the rectangle. Thanks to Uli Schrempp.
  • [FEST-177] – Files#newFile should call java.io.File#mkdirs.
  • [FEST-200] – JTreeFixture#showPopupMenuAt(String path) doesn’t scroll to the path before right-clicking
  • [FEST-278] – JComboBox.showPopup bug.
  • [FEST-293] – FEST-225 implementation behaves wrongly – matches any value given. Thanks to Morten Breum Mikkelsen.
  • [FEST-297] – Scrolling doesn’t work when the component is inside the screen boundaries but is not visible. Thanks to Nicolae Bucalaete.
  • [FEST-299] – JTableHeaderFixture doesn’t properly trigger subsequent clickColumn() invocations. Thanks to Rahel Lüthy.
  • [FEST-305] – ApplicationLauncher should use current thread’s context class loader to load a class from a String.
  • [FEST-318] – Keyboard mappings depend also on OS, not only on locale. Thanks to Olivier DOREMIEUX.
  • [FEST-321] – Maven cannot find dependency MultiThreadedTC. Thanks to Olivier DOREMIEUX.
  • [FEST-331] – Unable to get pop-up menu for non-focusable component. Thanks to Ivan Malygin.

Improvement

  • [FEST-216] – Make the GUITestRunner take screenshots before the "After" methods are executed and make the directory configurable and permanent. Thanks to Bernd Kappler.
  • [FEST-286] – Include window hierarchy in stack trace when WindowFinder fails. Thanks to Morten Breum Mikkelsen.
  • [FEST-291] – GenericTypeMatcher need reset Method. Thanks to Henning.
  • [FEST-302] – JMenueItem.click need adjustable delay. Thanks to Henning.
  • [FEST-304] – Increase visibility of classes in org.fest.swing.finder package. Thanks to Peter Murray.
  • [FEST-306] – BasicAppletContext should implement getApplet and getApplets to return the applet under test. Thanks to dmas.
  • [FEST-309] – Improve the way tabs are selected in a JTabbedPaneFixture. Thanks to Nicolae Bucalaete.
  • [FEST-311] – Condition running test() on the EDT. Thanks to Dan Peder Eriksen.
  • [FEST-312] – Improving reported cause of WaitTimedOutError will help users. Thanks to Morten Breum Mikkelsen.
  • [FEST-322] – JOptionPaneFixture should include a getTitle()-method. Thanks to Morten Breum Mikkelsen.

New Feature

  • [FEST-315] – Load keyboard mappings from text files. Thanks to Olivier DOREMIEUX.
  • [FEST-319] – UI for easy creation of keyboard mappings. Thanks to Olivier DOREMIEUX.

FEST-Swing can be downloaded here (file fest-swing-1.2rc.zip.) FEST requires Java SE 5.0 or later.

Links

Feedback is always appreciated :)

{ 2 comments… read them below or add one }

Jorge January 21, 2011 at 6:50 am

Hi Alex, I don’t know if this is the best place for posting this, so I apologize if it is not. I am working with FEST for testing Swing GUIs using JUnit, and I am having a lot of trouble with the JButtonFixture click() function as it doesn’t seem to produce any action at all. I am wondering if there is something I am doing wrong.

Reply

Alex Ruiz January 21, 2011 at 10:43 am

Hi Jorge,

Saw your question on the mailing list. I responded already :)

Cheers!

Reply

Leave a Comment

{ 1 trackback }

Previous post:

Next post: