是否有任何 Java 库可用于 Windows GUI 的自动化测试?

发布于 2024-07-18 03:18:54 字数 136 浏览 6 评论 0原文

目前,我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

倾`听者〃 2024-07-25 03:18:54

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

晨光如昨 2024-07-25 03:18:54

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.

春庭雪 2024-07-25 03:18:54

有一些基于 Java 的(商业)工具用于 GUI 测试,例如 SquishGUIdancer

如果他们还没有公开 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文