• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

looking for Swing automated testing tool

 
Ranch Hand
Posts: 479
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Rancher
Posts: 175
Clojure Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another interesting option is Squish.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic