ios - 如何在真实的 iOS 设备中自动化 'Settings' 应用程序?

标签 ios ui-automation appium ios-ui-automation monkeytalk

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

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

最佳答案

您可以在终端中尝试以下操作:
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

关于ios - 如何在真实的 iOS 设备中自动化 'Settings' 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29465731/

相关文章:

wpf - 如何从 UI 自动化框架获取我的 WPF UserControl DependencyProperty 的值?

ios - 如何从 App Delegate 和/或其他 View Controller 访问多个 View Controller ?

iphone - 如何在后台运行时监控通话状态?

c# - MS UIAutomation 对文本没用吗?如何设置字体粗细、获取插入位置、插入文本等?

appium - 如何在 selendroid 模式下运行 appium 测试 (API<17)>

appium - Y appium 在 ios 模拟器中循环重启应用程序?

java - Appium:无法运行网络移动 Chrome 浏览器脚本

ios - 使UITableViewCell选择闪烁

ios - UIColectionView Vertical Scrolling inside a Scrollview - 在 Collection View 区域滚动时禁用 ScrollView 的滚动

typescript - 指定的 glob 模式与任何文件都不匹配,或者默认测试目录为空。 - 测试咖啡馆