Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to run Appium iOS automated tests on Ubuntu?

I know that it's impossible to code the test on ubuntu since I need apple's xCode, but I would like to know if, once coded, it is possible to run the automated tests on Ubuntu.

Thanks.

like image 550
Cristian Avatar asked Nov 04 '15 18:11

Cristian


People also ask

Can we test iOS application on Linux machine using Appium?

An example (in which I'm involved) is quamotion/appium-docker-ios container, which you can use to test iOS devices with Appium on Linux. See https://github.com/quamotion/appium-docker-ios for more information. You'll still need an Apple code signing certificate and provisioning profile, though.

Can we automate iOS app using Appium?

Appium is an open source test automation framework for automating native, mobile web, and hybrid applications on iOS devices, Android devices, and Windows desktop platforms. Importantly, Appium is “cross-platform”: it allows you to write tests against multiple platforms (iOS, Android, Windows) using the same API.

Can we run iOS automation test in Windows using Appium?

LIMITATIONS If you are running Appium on Windows, you can use the Appium.exe client, which will allow you to quickly launch an Appium server and use the Inspector. You will not be able to test iOS apps on a locally hosted server, because Appium relies on OS X-only libraries to support iOS testing.

How do I test real iOS devices with Appium?

Start the Appium server (by opening the Appium Desktop app or using the CLI). Run the Java test you wrote including the capabilities above, and watch as the iOS device opens your app! Make sure the device is unlocked, and if it asks you to "Trust the Computer", tap the button to trust our Mac.


2 Answers

No, appium needs xCode to use UiAutomation and instruments to perform testing on iOS unfortunately.

like image 154
Liam Ferris Avatar answered Oct 21 '22 12:10

Liam Ferris


I did follow with success the following tutorial: Appium on Raspberry-Pi

My current setup is as follows:

  • iOS devices connected to Raspberry-Pi 4 (Ubuntu)
  • Appium server on RPi + Quamotion tools
  • Inspect/Run automation scripts from remote computer.

I tried this on RPi but I guess this works on any Ubuntu computer/server.

like image 21
Geraint B Martinas Avatar answered Oct 21 '22 12:10

Geraint B Martinas