Tutorial :Are there any Java libraries which I can use for automated testing of Windows GUIs?


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?



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,



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.


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.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »