AutoIt 类似于 Java 的 GUI 自动化工具

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1097528/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 15:10:24  来源:igfitidea点击:

AutoIt like GUI automation tool for Java

javaswingautomation

提问by wojakzek

I need to automate UI testing of a software that my module is plugged in. I do not have an access to code of the host so I need something like AutoIt. Since AutoIt does not work with Swing, is there any AutoIt likeGUI automation tool for JAVA based applications?

我需要自动化我的模块插入的软件的 UI 测试。我无法访问主机的代码,所以我需要像 AutoIt 这样的东西。由于 AutoIt 不适用于 Swing,是否有类似 AutoIt 的用于基于 JAVA 的应用程序的 GUI 自动化工具?

回答by wojakzek

You can take a look at Marathon, it is for Java.

你可以看看Marathon,它是针对 Java 的。

回答by Akshay Pai

Java Swing applications can be automated using JubulaFunctional Testing Tool.

Java Swing 应用程序可以使用Jubula功能测试工具实现自动化。

回答by ozmike

Auto can probably do it ? Try the AutoIT JAVA UDF that a friend of mine wrote, it is quite old and may not work anymore..my apols

汽车大概可以做到吗?试试我一个朋友写的 AutoIT JAVA UDF,它已经很旧了,可能不再工作了..我的 apols

This UDF currently automates standalone applications and browser-based applets, developed in either Swingor the Abstract Window Toolkit (AWT).

此 UDF 当前使独立应用程序和基于浏览器的小程序自动化,这些应用程序是在Swing或抽象窗口工具包 (AWT) 中开发的。

JAVA UDF

爪哇UDF

回答by dfa

I like very much Festbut I don't know Autoit :(

我非常喜欢Fest但我不知道 Autoit :(

回答by Tom

TestComplete supports Java, and does not require you to add code to the program you are testing.

TestComplete 支持 Java,并且不需要您向正在测试的程序添加代码。

回答by java_enthu

May be you can try out JWinAuto

也许你可以试试JWinAuto

回答by Fidel

I've heard of sikulibeing used for automating java apps

我听说sikuli被用于自动化 Java 应用程序