【发布时间】:2013-02-23 13:49:03
【问题描述】:
我知道从Xcode 4.2 开始可以通过命令行运行UIAutomation 脚本。我已经尝试过了,并且在模拟器中对我来说工作得很好。我想知道如何在实际设备中运行。我搜索并获得了在设备上运行的命令,
instruments -w <device_id> -t /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
application -e UIASCRIPT
script -e UIARESULTSPATH <results path>
我应该在 application 中具体给出什么,是 ipa 的路径还是其他什么?
提前谢谢
【问题讨论】:
标签: ios command-line instruments ui-automation ios-ui-automation