我尝试使用Appium、UI自动化和Monkey Talk来实现本地应用程序自动化,以实现真正的iOS设备的自动化。提到的工具并不支持真正的iOS本地应用程序自动化。
是否有一个(免费软件)工具可以使真正的iOS设备的本地应用程序自动化?
发布于 2015-05-12 22:25:12
您可以在您的终端中尝试以下操作:
instruments -v -w YOUR_DEVICE_ID -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/Preferences.app -e UIASCRIPT /Users/mytests/Documents/xCode/Shell-Script/YourTestScript-App.js
上面的命令是一个1列。但是您需要自己编写名为YourTestScript-App.js的测试脚本
https://stackoverflow.com/questions/29465731
复制相似问题