Wednesday 11 September 2019

Basic Setup for iOS automation with Appium on Mac






Hello Friends,

As we all know that Appium is an open-source mobile test automation tool to test Android and iOS applications. We can test native, mobile web and Hybrid mobile applications. Appium uses WebDriver interface. It supports C#, Java, Ruby, and many other programming languages that belong to WebDriver Client library.

But for beginners, sometimes it is a bit difficult to setup running appium along with other third-party applications.

 So to ease the process, I am listing down the steps required while installing an appium on the Mac machine.

The steps are as follows:
Setup of iOS automation:

Step 1: Installation of Xcode from App Store
Xcode is an Integrated Development environment by Apple. It comprises of suites of software required to build iOS and OSX applications.
It can be downloaded from AppStore free of charge.

Step 2: Installation of Appium Desktop on Mac
Follow the following URL: 
You should consider the latest stable release. Download the .dmg file as we are installing it on Mac.

Step3: Installation of brew
You can install brew following https://brew.sh/

Step4: Installation of libmobiledevice using brew
Run the following command on terminal

brew install libimobiledevice --HEAD

Step5Installation of Carthage
WebDriver agent which is WebDriver server implementation for iOS that can be used to remote control iOS devices requires Carthage dependency manager.
It can be downloaded from brew as,

brew install carthage

Step6: Creating Maven Java project with the addition of dependencies like Appium java client, testing etc in IDE like eclipse.

Step7: A compiled version of the iOS app. The extension for the compiled app is .app. You can also take help from developers who build this app.

If you follow above-mentioned steps, I guarantee you that you will have working Appium with all required third party apps.

Thanks…

No comments:

Post a Comment

Setting up Genymotion with Oracle Virtual Box for Android Automation

In this tutorial, we will see how to setup Genymotion with Oracle Virtual Box for Android automation. Prerequisites: Appium must ...