Acceptance Testing and Eclipse Rich Client Applications – How to do it?
In my last post I promised a post about something other than Eclipse for my next post. I’m sorry I lied, I had the best of intentions. However the problem of acceptance testing and Rich Client applications has been rattling around in my head for some years now. A couple of years ago I tried this in .NET and didn’t have any great success. This time driven by the needs of several projects in my group and reading Bret Pettichord’s excellent seminar "Homebrew Test Automation" (PDF) I’m inspired to try again.
Ideally I would just like a library that we can invoke from our test cases (written in Java/Jython – not Vendor Script). However after some digging I’ve got far more questions than answers. Here are the options that I’ve been able to find:
1) Roll you own framework – As a side project I went down this path a few months back. I got stuck at the beginning – I could launch my application – but once launched my test harness couldn’t regain control. Even if I can get this to work I going to have to extend each SWT/JFace control with additional test methods. That sounds like hard work.
2) Marathon doesn’t appear to have any SWT support.
3) Abbot there are some murky references and a wiki entry. However neither Abbot nor its website have been updated since Oct 06. Is usable in its current form? Is it dead?
4) Window Tester from Instantiations: promises a Rich GUI Test Library (hey this is what I want). For $499 a seat this could be a great tool. Does anyone have any experience using it? Does it deliver the value?
5) FrogLogic SquishJava 2400 EUR – Beyond the name I can’t tell much about it at all.
So is anyone doing automated acceptance testing of Eclipse RCP apps (not recording scripts – but writing test cases)? What tools are you using?
Update: I misread this statement "its test
scripting languages" on the FrogLogic SquishJava page to mean vendorscript. It would’ve been more clear if it had listed some sample languages. Thanks to Harri for catching my error. Ouch I also got the price wrong. At six times Instantiations price it had better be magical.
If you enjoyed this post, subscribe now to get free updates.
July 14, 2007 at 7:10 am | Harri Porten
What kind of vendor script are you referring to when talking about froglogic’s Squish? We (I work with them) embed the standard Python, Perl, Tcl and JavaScript interpreter libraries. The tester can choose one of these languages and import whatever 3rd party module they find on the Net. All we add are some test specific functions (like test.compare()). Quite the opposite from a “vendor script” I would say.