用脚本启动instruments脚本
上一篇 /
下一篇 2014-04-01 10:54:44
/ 个人分类:移动端
使用模拟器跑
instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate "/Users/jimzhang/Library/Application Support/iPhone Simulator/7.1/Applications/C6811F31-DBE2-40C0-8AB7-29C9F38EAC03/im4ps-teacher.app" -e UIASCRIPT. /Users/jimzhang/mobileautotest/testIm4ps/testAxtTeacher.js
使用真机跑
instruments -w e3864fb6f17ff47be8c01e001fe861c63ee88c06 -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate "/Users/jimzhang/Library/Application Support/iPhone Simulator/7.1/Applications/C6811F31-DBE2-40C0-8AB7-29C9F38EAC03/im4ps-teacher.app" -e UIASCRIPT. /Users/jimzhang/mobileautotest/testIm4ps/testAxtTeacher.js
-w为真机id,-e UIASCRIPT为要执行的脚本
收藏
举报
TAG: