- Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html page and download JDK.
- Click "Accept License Agreement" radio button and click on .exe link to download JDK based on your OS as shown in the below image. Select "Windows x86" for 32 bit system and "Windows x64" for 64 bit system.
- Use following step install JDK in your system.
- It will take some time to install JDK and at the final stage of installation
- Right click on My Computer icon which is located on your desktop or Win Start.
- Select Properties
- Click on “Advanced system settings” and choose “Advanced” tab and then click on “Environment Variables…”
- Under System variables click on New button
- Assign variable name as “JAVA_HOME” and Variable value as java-installed path like below.
- Click on Sdk Manager.exe and following window will be open
- Download all the packages
- Right click on My Computer icon which is located on your desktop or Win Start.
- Select Properties
- Click “Advanced system settings” and choose “Advanced” tab and then click on “Environment Variables…”
- Under System variables click New button
- Assign variable name as “ANDROID_HOME” and Variable value as java-installed path like below.
- Go to Settings and Click on Developer options then follow the below steps.
- Search for "download latest version of Microsoft .Net Framework" keyword In Google.
- It will show you the latest version download link as below.
- It will take you to the Microsoft .Net Framework latest version download page.
- Current version is Microsoft .NET Framework 4.5.
- Click on download button. It will download the .exe file to install Microsoft .Net Framework (e.g. dotNetFx45_Full_setup.exe).
- Go to the following URL https://nodejs.org/en/download/
- It will download Node JS installation .msi file (e.g. node-v0.12.7-x86.msi).
- Double click on Node JS installation .msi file.
- It will open Node JS installation dialog.
- Proceed for installation with default selected options and settings on each screen of installation dialog box.
- Go to PDANet+ http://pdanet.co/
- Click on Download button. It will take you to PDANet+ for Android download link page.
- Click on download link as shown in above image. It will download installation file (e.g. : PdaNetA4181.exe).
- Connect your android phone with PC with USB debugging mode enabled.
- Double click on PDANet+ installation .exe file.
- It will open PDANet+ installation dialog.
- Proceed for installation with default selected options and settings on each screen of installation dialog.
- Go to link http://appium.io/
- Click on Download Appium button.
- It will download zip file.
- When download completes, Extract zip file.You will get AppiumForWindows folder as shown bellow.
- Open AppiumForWindows folder. "appium-installer.exe" file will be there.
- Double click on "appium-installer.exe" file to install appium. It will start installing appium.
- It will ask you to select setup language.
- Select English and click on OK.
- It will launch Appium Setup Wizard. Click on Next button.
- Next screen will ask you to select appium destination location. Leave it as it is and click on Next.
- Next screen will ask you to set name of appium. Leave it as it is and click on Next.
- Click on Next on Select Additional Tasks screen.
- On Ready To Install screen, Click on Install button. It will start installation.
- At the end of installation, it will show Completing the Appium Setup Wizard. Select Launch Appium check box and click on Finish button.
- It will launch Appium as shown below.
- Appium is installed and ready to use.
- Click on Android Settings button as shown in below image.
- Select Platform Name = Android
- Select Automation Name = Appium
- Select Platform Version = Your android device's OS version. For me it is 4.2 Jelly Bean.
- Click on General Settings button as shown in the below image.
- Note down Server Address and Post number. We need it during appium software automation test script creation. Server Address is: 127.0.0.1 and Port number is : 4723.
- Un-check Pre-Launch Application check box if it is checked.