-
Notifications
You must be signed in to change notification settings - Fork 31
Appium windows installation
Dipjyoti Metia edited this page May 12, 2019
·
3 revisions
- Download
node.js
installer from here - Accept terms and conditions and proceed forward for installation.
- On Custom Setup window, Select
Add to PATH
option and proceedNext
. - Click Install option to proceed with installation.
- Once Installation is finished, open command prompt and run
node -v
to check whether it node version installed is returned. e.g$ node -v
$ v12.2.0
- Download Java 8 JDK from here
- Accept license agreement and download
jdk-8u201-windows-x64.exe
from above link. - Install downloaded Java 8 JDK.
- System Properties -> Environment Variables -> System Variables -> New ->
JAVA_HOME
and Value asC:Program Files\Java\jdk1.8.0_201
(path where JDK is installed) - System Properties -> Environment Variables -> System Variables -> Select
Path
and Edit -> Add%JAVA_HOME%\bin
- Once Environment variables are configured, open command prompt and run
java -v
andecho $JAVA_HOME
to check whether java version installed is returned. e.g
$ java -version
$ java version "1.8.0_201"<br/> Java(TM) SE Runtime Environment (build 1.8.0_201-b13)<br/> Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
- Open commandprompt as admin and run
npm install -g windows-build-tools
(takes a while to complete) - Open command prompt or terminal and type
npm install -g appium
to install appium globally. - Wait for installation to be completed successfully
- Check whether Appium is installed properly from command prompt through
appium --version
command.
-
Download Android Studio for windows from here
-
Proceed Next and install android studio
-
Open Android studio and create a new project
-
Once Project window is auto launched, click on
Install missing platform and sync Project
options from message: -
Wait until gradle sync to be successful.
-
Download and Install HAXM for windows from here
-
Then Switch to Android Studio again and then Select
AVD Manager
icon in tool bar: -
Start Android Emulator as shown below:
(DONT DELETE ANY EXISTING PATHS WHILE SETTING BELOW)
- Copy the SDK path from Android Studio as shown below: File -> Project Structure
- Goto Configure environment variables: System Properties -> Environment Variables -> System Variables -> New ->
ANDROID_HOME
and Value asC:Users\YourUser\AppData\Local\Android\SDK (path where SDK is installed)
- Add the Android sdk paths into your existing
PATH
variable value as%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools;%ANDROID_HOME%\build-tools
- Install Appium Doctor through terminal like
npm install -g appium-doctor
- Once installation is successful, run
appium-doctor --android
to check health of android appium setup. If everything is GREEN then we are good to start.
- Download and Install Appium Desktop from here
- Please install Community Edition of
Intellij IDEA
from here