我一直在使用UIAutomation自動化我的iPhone應用程序,要運行這個我推出的iOS儀器和運行該腳本。如果同樣的自動化腳本,我想要運行的設備我用下面的命令,它可以作爲期望如何運行UIAutomation命令行腳本模擬器
儀器-w -t /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/內容/資源/ Automation.tracetemplate MYAPP -e UIASCRIPT regression.js
但我怎麼運行這個命令行到iOS模擬器?
請建議。
感謝 Sougata
你在哪裏保留這個regression.js和任何好的教程來學習編寫腳本的自動化 – nikhil84