Good java library for Windows application automati

2019-04-02 04:26发布

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?

3条回答
不美不萌又怎样
2楼-- · 2019-04-02 05:05

There's also a commercial product from http://www.nevaobject.com/ the provides this functionality. I've used older versions without any problems...other than having to understand the challenges around COM.

查看更多
beautiful°
3楼-- · 2019-04-02 05:10

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

http://jwinauto.sourceforge.net/

查看更多
啃猪蹄的小仙女
4楼-- · 2019-04-02 05:17

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.

查看更多
登录 后发表回答