Good Java library for automating Windows applications

I am looking for the best way to start Windows application automation from a Java application. So far, I have used the Groovy and Scriptom libraries to access my own COM interface. This is a fairly straightforward approach, but does not scale very well (writing configuration for each application, reading brilliant COM documents, testing, testing, etc.)

Now I am looking for the best way to automate a Windows application from a Java application. Is there any java library that could help me? Maybe I should use a framework other than java, like autoit and name it with Java?

+2
source share
3 answers

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

This is a Java library that uses JNI to create its own calls in the COM and Win32 libraries.

Additional information (and examples) here and here .

+2
source

Try JWinAuto. JWinAuto is a simple AutoIt shell that allows java applications to automate Win32 GUIs.

http://jwinauto.sourceforge.net/

+4
source
0

Source: https://habr.com/ru/post/1766157/


All Articles