• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

looking for Swing automated testing tool

 
Ralph Cook
Ranch Hand
Posts: 479
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am embarking on a project in Swing; I would like to find an automated testing tool. My preferences are:

1. human-readable test scripts; recording input is good, but I will live without it
2. find controls to operate on by some identity search, not by screen position. I'll add a name to all my controls if that's easiest
3. if the test scripts are NOT in java, that's a plus. But I prefer Java to XML.

The really frustrating thing is I think I was reading the documentation for such a thing a couple of weeks ago, and now I can't find it. I put search terms into google to find it as best I can remember, and it gives me a couple of hundred things none of which look the same.

So maybe I dreamed it. But if I can find something with the above characteristics, that'll be good.

And does anyone know about Jemmy? It looks promising, but the java.net project website for it has broken links and was acting squirrelly this morning...

rc
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ralph,
We have a forum dedicated for testing/tools. I will move your question over there for you. I think you will get a better response there.
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
marathon is an excellent choice for GUI testing.

This satisfies all of your points:
1. Script is in Jython - so, human readable. Importantly, the tool has recording/playback and writes the script when we are 'recording'.
2. This operates on the component's name. So, call setName on all your components to get easy to understand scripts.
3. Script is in Jython.

This is modelled on JUnit, so concepts are similar - test cases, test suites, assertions and so on...
 
David Byron
Rancher
Posts: 175
Clojure Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another interesting option is Squish.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic