如何在真实的 iOS 设备中自动化“设置"应用程序? [英] How can i automate 'Settings' app in real iOS devices?

查看:41
本文介绍了如何在真实的 iOS 设备中自动化“设置"应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I tried with Appium, UI Automation and Monkey Talk to automate native app automation for real iOS device. Mentioned tools are not supporting real iOS native app automation.

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

Is there a (freeware) tool that automates native apps of real iOS devices?

推荐答案

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

You can try the following in your Terminal:

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

The above command is a 1 liner. But you need to write your own test script called YourTestScript-App.js

这篇关于如何在真实的 iOS 设备中自动化“设置"应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆