To Automate Android and iOS we will be using Appium. To set up the Appium server on your site you will need the following to be installed on Your Machine :
- JDK
- You can get the latest JDK from the JDK – Java SE Development Kit 8u112
- After Installing the package on to MAC Set JAVA_HOME PATH
- JAVA_HOME Path on Windows
- Android SDK
- You can Download the latest SDK from Android Studio for MAC which also installs the sdk by default along with the platform tools.
- Once you install Android Studio, Set ANDROID_HOME ON MAC
- ANDROID_HOME Path Setting on Windows
- Nodejs
- Download and install.
- Eclipse
- Download Eclipse
- Unzip to get the Eclipse installer
- Select Eclipse IDE for JAVE EE Developers
- Note the installation location – /Users/[YourName]/eclipse/jee-neon in this case for MAC and C:Users[YourName]/eclipse/jee-neon in case of windows.
- Appium
- Download Appium
- If you are unable to open Appium – Go to system Preferences – Security and Privacy – You will see ” Appium” was blocked from opening because it is not from an identified developer warning and Open Anyway button – Click on the button to verify Appium and you will be able to launch Appium.
- After wish you will be prompted to Authorise iOS simulator – click yes.
- Android Screen Monitor
- Download and Install
- UIAutomatorViewer
- For MAC:
- To Open UI AtuomatorViewer tool – Open Terminal
- Go to the Android Sdk tools location – cd /Users/[YourName]/Library/Android/sdk/tools
- type uiautomatorviewer – click Enter
- For windows :
- Open Cmd prompt
- Go to Android tools location
- type uiautomatorviewer – Enter.
- For MAC: