如何在UIAutomation中播放录制的脚本?

发布于 2025-01-02 01:11:47 字数 96 浏览 3 评论 0原文

我正在尝试使用 UIAutomation,但有一个问题。我开始使用我的应用程序记录一些操作(例如在 FoneMonkey 中)。当我按下“记录”按钮时,记录会停止,但如何重播它?

I'm trying to work with UIAutomation, and here's a problem. I'm starting to record some actions with my app (like in FoneMonkey).Recording stops when I press the Record button, but how can I replay it?

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

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

发布评论

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

评论(1

拥抱没勇气 2025-01-09 01:11:47

播放脚本可以通过单击脚本编辑器下方的播放按钮或单击跟踪窗口左上角的仪器记录按钮来完成。无论哪种情况,您都必须在“选择目标”弹出窗口下适当地设置目标。

您还可以通过命令行工具工具播放脚本。请参阅 UI 自动化工具是否可以从命令行? 来自更多详细信息。

Playing a script is done by either clicking the play button found below the script editor or by clicking Instruments Record button found in the upper-left of the trace window. In either case, you'll have to have set your target appropriately under the Choose Target popup.

You can also play back scripts via the command line instruments tool. See Can the UI Automation instrument be run from the command line? from more details.

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