Question

Is there any open source tool/framework that is written in Java that can be used to automate all Windows applications (not like Abbot or FEST which automates Java based GUI Apps).

I have heard about WHITE which is kind of like for .Net Languages. Is there a Java based alternative or a framework in Java that can use WHITE or UIAutomation Framework (through JNI or something)?

There seems to be many Java based web automation and testing tools like Selenium, Sahi etc. but for GUI Automation, I found only jWinAuto which is a wrapper around AutoItX.

Is Java not capable for GUI Automation? Is there something beyond the Java Robot API?

Was it helpful?

Solution

Java does not inherently support cross platform native GUI automation (where you need to find and understand native components). By that I mean a way of doing it "write once run everywhere" beyond the obvious very minimal API of Robot.

Could such a project be done in Java? I'm sure, but there would be a lot of JNI code involved to the point where you would wonder what Java brings to the table.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top