是否有任何 Java 库可用于 Windows GUI 的自动化测试?
目前,我正在使用 FitNesse (Java) 进行自动化集成测试,并已成功插入 Watij 来访问基于 Web 的应用程序。 我想扩展它来驱动 Windows GUI(非 Java)应用程序。 为此,是否有可用的 Java 库可供我以类似的方式使用?
Currently I am doing automated integration testing using FitNesse (Java) and have successfully plugged-in Watij to access a web-based application. I would like to extend this to also drive Windows GUI (non-Java) applications. To this end, are there any Java libraries available which I can use in a similar way?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Matt,
我认为您无法使用 Java 库测试您的非 Java GUI。
话虽这么说,您可以查看 AutomationAnywhere (.com),看看它是否符合您的需求。 该工具非常强大且非常昂贵,如果您的公司愿意为此付费,这可能不是问题。 您可以尝试免费试用,看看您的想法。
祝你好运,
-罗伯特
Matt,
I don't think you are going to be able to test your non-java GUIs with Java libraries.
That being said, you could take a look at AutomationAnywhere (.com) and see if that fits your needs. This tool is very robust and very expensive, which may not be an issue if your company is going to pay for it. You might try a free trial out and see what you think.
Good luck,
-Robert
Abbot 是我所知道的一个,它很好而且免费。 不知道这是否适合你的情况。 您还可以查看 UISpec4J。
Abbot is one that I'm aware of, which is nice and free. I don't know if that will fit your your situation. You might also look at UISpec4J.
有一些基于 Java 的(商业)工具用于 GUI 测试,例如 Squish 或 GUIdancer。
如果他们还没有公开 Java API,我相信您可以与他们的支持人员联系以添加这样的功能。
There are Java based (commercial) tools for GUI testing like Squish or GUIdancer.
If they do not already expose a Java API I am sure that you can talk to their support to add such a feature.