Requirements: What You Will Need
1. Xcode (latest version) with all downloaded simulators and command line tools
2. Appium (latest version)
3. Android Studio along with Android SDK and Platform Tools
4. Eclipse IDE
5. Jar files required to set up the Appium capabilities.
Now let’s dig deeper:
Commands to install Appium on Mac:
First Command: This will install home-brew. Basically Homebrew is an open-source software package management system that simplifies the installation of software on Apple’s OS X operating system.
—— ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
This will prompt for the password..Enter the password to continue.
Second Command: This will install node JS as appium will use Node js as the medium of communication between your java code and appium server
—— brew install node
Third Command: Install Appium using NPM (Node package Manager)
—— npm install -g appium
Fourth Command: Install Appium Client on the machine
—— npm install wd
To install Appium client along with GUI:
- Goto appium.io
- Download & Install the appium client.
Fifth Command: This will give permission for appium to use all the iOS simulators and the iOS devices connected to the machine
npm install -g authorize-ios
Sixth Command: This command will provide the root access to the appium client
Seventh Command: Verify the installation of appium on your device.
You will be displayed with the following message:
Welcome to Appium v1.5.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
Eight Command: ideviceinstaller is a tool to interact with the installation_proxy of an iOS device allowing to install, upgrade, uninstall, archive, restore and enumerate installed or archived apps.
brew install –HEAD ideviceinstaller
Set up Java & Android_home path:
use the following command
Enter the following commands….
Save the file.
Use the following command to verify
To verify the installation use Appium Doctor:
npm install appium-doctor -g
Once all the requirements related to Appium, You are ready to start automating your project.