免费库,例如用于 C 的 Java 机器人类;

发布于 2024-08-07 20:14:32 字数 210 浏览 4 评论 0原文

是否有一个免费的库具有与 C++ 的 Java Robot 类相同的功能?

http://java.sun.com/javase/ 6/docs/api/java/awt/Robot.html

Is there a free library that has the same features of Java's Robot class for C++?

http://java.sun.com/javase/6/docs/api/java/awt/Robot.html

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

别再吹冷风 2024-08-14 20:14:32

对于 Linux,有 Dogtail,它使用 GNOME 的辅助功能技术。
我尝试为 GNOME 计算器编写一些测试。您可以使用Python的标准单元测试框架来编写测试。 Dogtail 处理与用户界面的所有通信。所有按钮和字段在 GNOME 中都有正确的名称,并且可以从 Python 访问。

For Linux there is Dogtail which uses the accessibility technology of GNOME.
I tried writing some tests for the GNOME calculator. You can use the standard unit test framework of Python to write tests. Dogtail handles all communication with the user interface. All buttons and fields have proper names in GNOME and can be accessed from Python.

雨落星ぅ辰 2024-08-14 20:14:32

对于 Windows,有诸如 AutoIt 之类的工具可以自动化 GUI 应用程序。但在 Linux 上我什么都不知道; expect 是自动化命令行应用程序(如 telnet)的黄金标准,但它不处理 GUI。

For Windows, there are tools like AutoIt which can automate a GUI application. On Linux I'm not aware of anything, though; expect is the gold standard for automating command line applications like telnet, but it doesn't handle GUIs.

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