I've been a zone leader with DZone since 2008, and I'm crazy about community. Every day I get to work with the best that JavaScript, HTML5, Android and iOS has to offer, creating apps that truly make at difference, as principal front-end architect at Avego. James is a DZone Zone Leader and has posted 639 posts at DZone. You can read more from them at their website. View Full User Profile

What Tool Do You Use For Automated UI Tests?

06.10.2010
| 6551 views |

There's no doubt that test driven development is an important approach when writing your applications. For Java developers, tools like JUnit, integrated into our IDEs makes this task simple, with no excuse not to have unit tests written for all your logic code. But what about the user interface?

Typically, the UI is left to be tested manually. This is fine for the first release or two, but as new features are added, the regression testing effort becomes way too difficult. Some people write automated scripts to test the user interface. What I'd like to find out today is which tools do Java developers user for automated UI tests, particularly for desktop applications. For web applications, Selenium seems like it's the default option, but for Java based desktop applications, it doesn't look like there is a default option. 

I'm interested to hear your thoughts on the value of automated UI tests too. Is there a case for keeping the UI thin enough that JUnit tests can cover enough?

I use WindowTester from Instantiations
3% (7 votes)
I use Squish from FrogLogic
2% (6 votes)
I use the Abbot framework
4% (9 votes)
I use a tool/framework not listed here (please include in comments)
24% (60 votes)
I don't do automated UI testing
67% (169 votes)
Total votes: 251

Comments

Maniappan Raj replied on Thu, 2010/06/10 - 2:29am

Checkout AutoCzar from http://www.testingczars.com/ for automated UI and functional testing.

Mladen Girazovski replied on Thu, 2010/06/10 - 2:51am

You can make UI Code more testable, by using patterns like Humble Object & MVP.

Testing the UI as such is complex and results in fragile tests, for Web UIs i use Selenium, for SWT/Eclipse RCP SWTBot.

Red Stun replied on Thu, 2010/06/10 - 3:29am

Watir/FireWatir for WEb UIs

BTW, I love the ideas in Humble Object

Peter Karussell replied on Thu, 2010/06/10 - 3:30am

What about FEST?

Is the Browser a UI? If you think so ... check out selenium. Of course there are more

Dejan Pazin replied on Thu, 2010/06/10 - 3:51am

 

I tried Marathon a while ago. It seemed like a good tool but it had too many quirkes for serious testing.

Jian Fang replied on Thu, 2010/06/10 - 12:31pm

Tellurium automated Testing framework, which grew up from Selenium. More details:

 

project site:

 http://code.google.com/p/aost/

 

0.7.0 Release reference book

http://aost.googlecode.com/files/tellurium-reference-0.7.0.pdf

 

0.7.0 Release tar ball

 http://aost.googlecode.com/files/tellurium-0.7.0.tar.gz

 

 Tellurium user group

http://groups.google.com/group/tellurium-users

 

Tellurium on twitter

http://twitter.com/TelluriumSource

 

Thanks.

 

 

asaf david replied on Thu, 2010/06/10 - 12:34pm

FEST here as well

Tom Wheeler replied on Thu, 2010/06/10 - 12:38pm

I use Jemmy, though I have used other tools in the past. 

 I certainly see the value of automated UI testing, but it's also very fragile and hard to maintain.  Consequently, I tend to spend far more of my time writing other types of tests.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.