【发布时间】:2011-12-25 04:49:34
【问题描述】:
我已经使用 UIAutomation 自动化了我的 iOS 应用程序,要运行它,我启动 iOS Instruments 并运行脚本。如果我想在设备上运行相同的自动化脚本,我会使用以下命令,它可以按需要运行
instruments -w -t /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate myapp -e UIASCRIPT regression.js
但是如何从命令行运行这个到 iOS 模拟器?
请提出建议。
谢谢 相形
【问题讨论】:
-
你把这个regression.js 和任何学习编写自动化脚本的好教程保存在哪里
标签: iphone command-line instruments ios-ui-automation