views:

34

answers:

2

Can someone suggest a UI automation tool for a Java Swing application with Record and Playback and screen capture facilities

+1  A: 

If you're looking for tools on the free side, check out

Frankenstein - http://frankenstein.openqa.org/

Abbot and Costello - http://abbot.sourceforge.net/doc/overview.shtml

On the paid side, suites such as Rational Functional Tester are pretty powerful, though pretty complex.

Be sure to do as little testing possible with the record and playback (meaning extract your logic to the controllers/models and test those via automated unit/functional tests). Automated UI testing is very difficult and brittle and should really be done late in the project when your UI is no longer changing much.

Jeff Storey
Yes, The UI isn't going to change much. I am trying to use Costello. Not sure how to get the screen capture/ screen shots using Costello though.
Antonio Lobo
Ah, sorry, missed that part about the screenshots. I'm not sure about that offhand, been a while since I've used that tool.
Jeff Storey
But it does have the screen capture option? It has capture component and capture reference
Antonio Lobo
+1  A: 

On the paid side you can also look at what Mercury has to offer : Winrunner is one of the 800-pound gorillas in UI testing.

I know of Abott : http://abbot.sourceforge.net/doc/overview.shtml

Another interesting project is project Sikuli

Peter Tillemans