- Mac OS X 10.12 recommended
- XCode 8 recommended
- Apple Developer Tools (iPhone simulator SDK, command line tools)
Commands to install Appium on Mac:
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.
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
Install Appium using NPM (Node package Manager)
—— npm install -g appium
install Appium Client on the machine
—— npm install wd
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
This command will provide the root access to the appium client
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
Stop the Server:
Get the process id of the appium
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
- Goto appium.io
- Download & Install the appium client.
In the Finder, locate the app you want to open.
Don’t use Launchpad to do this. Launchpad doesn’t allow you to access the shortcut menu. Press the Control key and click the app icon, then choose Open from the shortcut menu. Click Open.
The app is saved as an exception to your security settings, and you can open it in the future by double-clicking it just as you can any registered app.
Set up Java & Android_home path:
use the following command
Enter the following commands….
Save the file.
Use the following command to verify
Your Appium setup is ready. Continue to write your first Automation script.