Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good java library for Windows application automation [closed]

I am looking for a best way to trigger windows application automation from Java application. So far I have been using Groovy and Scriptom library to access COM native interface. It is rather straight forward approach, but does not scale well (writing configuration for each of application, reading brilliant COM documentations, testing, testing etc.)

I am looking now for better way to automate windows application from Java application. Is there any java library that could help me? Maybe I should use a non-java framework, e.g., autoit, and call it from Java?

like image 520
Skarab Avatar asked May 12 '26 19:05

Skarab


2 Answers

Try JWinAuto. JWinAuto is a simple wrapper around AutoIt to allow java applications to automate Win32 GUIs.

http://jwinauto.sourceforge.net/

like image 146
autoboto Avatar answered May 15 '26 09:05

autoboto


You can use the JACOB (Java-COM Bridge) project.

It's a Java library that uses JNI to make native calls into the COM and Win32 libraries.

More info (and examples) here and here.

like image 38
Tomas Narros Avatar answered May 15 '26 09:05

Tomas Narros



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!