2

我尝试使用 Appium、UI 自动化和 Monkey Talk 来自动化真实 iOS 设备的原生应用自动化。提到的工具不支持真正的 iOS 原生应用程序自动化。

是否有(免费软件)工具可以自动化真实 iOS 设备的本机应用程序?

4

1 回答 1

0

您可以在终端中尝试以下操作:

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

于 2015-05-12T22:25:12.130 回答