如何在UIAutomation中播放录制的脚本?
我正在尝试使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
播放脚本可以通过单击脚本编辑器下方的播放按钮或单击跟踪窗口左上角的仪器记录按钮来完成。无论哪种情况,您都必须在“选择目标”弹出窗口下适当地设置目标。
您还可以通过命令行工具工具播放脚本。请参阅 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.