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.
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.
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.
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.
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.
No, appium needs xCode to use UiAutomation and instruments to perform testing on iOS unfortunately.
I did follow with success the following tutorial: Appium on Raspberry-Pi
My current setup is as follows:
I tried this on RPi but I guess this works on any Ubuntu computer/server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With