Appium is an open-source mobile automation framework which supports automation on both iOS and Android platforms. It has become one of the most popular choice among mobile app automators.
In this post, I will walk you through the step-by-step setup guideline which are necessary before starting iOS automation.
To setup iOS automation below are the pre-requisites:
1. Mac OSx machine
- supports OS X 10.7+ onwards
You have to download Xcode + Command Line Tools.
- download Command Line tools follow the steps mentioned below
-> Open Terminal and type below command
$ xcode-select --install
-> You will get software update pop-up, click on Install button.
3. Appium
4. JAVA
- download and install JAVA.
- Once installed, configure environment variable in Mac OS as mentioned in steps below.
Step-1 Open Terminal and type below commands
$ open -e .bash_profile
Step-2 Save the below line
$ export JAVA_HOME=$(/usr/libexec/java_home)
Step-3 Refresh the file using below command
$ source .bash_profile
Step-4 Check if the JAVA_HOME is set properly
$ echo $JAVA_HOME
5. Eclipse / or any other IDE of your choice
- download IDE of your choice, I will be showing demo using Eclipse IDE.
This is required to install software on Mac machine
-> Open Terminal and type below command
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
7. Install idevicceinstaller
-> Open Terminal and type below command
$ brew install --HEAD ideviceinstaller
8. Download Sample iOS App project ( UICatalog) from below link:
No comments:
Post a Comment