优秀的Java库的Windows应用程序自动化 [英] Good java library for Windows application automation

查看:301
本文介绍了优秀的Java库的Windows应用程序自动化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找触发从Java应用程序的Windows应用程序自动化最佳途径。到目前为止,我一直在使用Groovy和Scriptom库访问COM原生界面。这是相当直接的方法,但没有很好地扩展(为每个应用程序的写配置,读辉煌COM单证,检验,检测等)

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.)

我现在正在寻找更好的方法来自动从Java应用程序的Windows应用程序。是否有任何Java库,可以帮助我?也许我应该使用非Java框架,例如, AutoIt的以及从Java调用它呢?

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?

推荐答案

您可以使用雅各布(Java的-COM桥)项目

这是一个使用JNI使本地调用到COM和Win32库的一个Java库。

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.

这篇关于优秀的Java库的Windows应用程序自动化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆