如何在 ios 设备上使用 appium 自动化非我的应用程序 [英] How do I automate an app that is not mine using appium on an ios device

查看:30
本文介绍了如何在 ios 设备上使用 appium 自动化非我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我这里有一个 iPhone 实际设备.我有一个应用程序,比如 Tinder.

So, I have an iPhone actual device here. And I have an app on there, say Tinder.

假设我想编写一些自动化程序来自动执行 Tinder 中的某些操作.

Let's say I want to write some automation that would automate some actions within Tinder.

我无法在网上找到任何关于如何设置自动化方式的文档,在我的真实设备上使用 appium 打开 Tinder 应用程序并向左或向右滑动.

I cannot find any documentation online, on how to setup a way to automate, on my real device using appium to open the Tinder app and swipe left or right.

有人告诉我,这与直接在 iPhone 上安装 appium 服务器有关,并将您的代码连接到手机上的 appium 服务器以实现自动化.但同样,找不到任何关于此的文档.

I was told it has something to do with installing appium server directly on the iPhone and have your code connect into the appium server on the phone to automate that way. But again, can't find any documentation on this.

有人能指出我正确的方向吗?我想使用 ruby​​ 编写与 appium 接口的自动化.

Can someone point me in the right direction? I would like to write the automation that interfaces with appium using ruby.

谢谢.

推荐答案

这是不可能的.如果你想在 iOS 上自动化,你需要模拟器构建或源代码.但是,在 Android 上,只要您拥有 .apk,您就可以将其自动化:)

It's not possible. If you want to automate on iOS, you need the simulator build or source code. However, on Android, as long as you have .apk you can automate it :)

来源:http://appium.io/slate/en/master/?java#appium-on-real-ios-deviceshttp://appium.io/slate/en/master/?java#ios-支持

这篇关于如何在 ios 设备上使用 appium 自动化非我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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