我可以使用 Appium 在 Ubuntu 上测试 IOS 和 Android 吗?

Can i use Appium to test IOS and Android on Ubuntu?

有没有办法在 ubuntu 上使用 Appium 自动测试移动应用程序以测试 IOS 和 Android?或者我们总是有义务用 Mac 进行测试。 或者是否有另一种工具可以让我们使用在 ubuntu 上运行的记录器生成脚本? 感谢您的回答。

为了运行 Appium iOS 测试,我们需要在机器上安装一些xcode。我不认为你可以在 Ubuntu.

中安装 xcode

背后的原因是:

Appium 使用xcode uiautomator 运行 在真实设备/模拟器中进行测试。

你仍然想要 运行 appium iOS 测试 Ubuntu,你可能会以安装 VM 和安装 MAC os 等额外工作结束虚拟机等等。

有可能。正如@mani 指出的那样,Appium iOS 测试需要一些 xcode 组件,但存在替换 Ubuntu 上的这些组件的包。

Appium on linux 上有一个很好的教程可以帮助安装这些。

ios-automation on ubuntu 详细解释了如何 运行 iOS Appium 脚本 Ubuntu。