views:

169

answers:

3

Currently I am doing automated integration testing using FitNesse (Java) and have successfully plugged-in Watij to access a web-based application. I would like to extend this to also drive Windows GUI (non-Java) applications. To this end, are there any Java libraries available which I can use in a similar way?

A: 

Abbot is one that I'm aware of, which is nice and free. I don't know if that will fit your your situation. You might also look at UISpec4J.

Dopyiii
The GUIs I need to test are non-Java based so I don't think either of these tools will help. I've added to my question to make this clear.
Matthew Murdoch
A: 

There are Java based (commercial) tools for GUI testing like Squish or GUIdancer.

If they do not already expose a Java API I am sure that you can talk to their support to add such a feature.

lothar
Squish seems to support non-Java GUIs but not only for cross-platform GUI libraries (Qt, Tk etc.). GUIdancer seems to be only Java Swing. The applications I want to test are MFC-based.
Matthew Murdoch
@Matthew Murdoch Maybe you should add that you want to use MFC to your question (and tags)
lothar
+1  A: 

Matt,

I don't think you are going to be able to test your non-java GUIs with Java libraries.

That being said, you could take a look at AutomationAnywhere (.com) and see if that fits your needs. This tool is very robust and very expensive, which may not be an issue if your company is going to pay for it. You might try a free trial out and see what you think.

Good luck,

-Robert

Robert Greiner