APPIUM SETUP

We need to do the following set up before jumping to Appium Test Design.

  1. JDK INSTALLATION AND ENVIRONMENT SETUP
  2. ANDROID SDK INSTALLATION AND ENVIRONMENT SETUP
  3. NodeJS INSTALLATION
  4. Microsoft .Net Framework(if not installed)
  5. APPIUM INSTALLATION
  6. Connect Android Phone in Debug Mode (Physical Devices)

Note: These are the step for installation, explanation some other day.. okay

1. JDK INSTALLATION AND ENVIRONMENT SETUP

  • Download JDK from this Link and do the installation. (I hope, you are good enough – how to install java or click here) .
  • Once installation is done, do the following environment setup.
    • Set the environment variable JAVA_HOME  and Path for JDK.
    • Windows 7:
      1. From the desktop, right click the Computer icon.
      2. Choose Properties from the context menu.
      3. Click the Advanced system settings link.
      4. Click Environment Variables and click New. Fill Variable Name as “JAVA_HOME” and Variable Value as Path to JDK home directory  Ex. “C:\Program Files\Java\jdk1.7.0_71” (Copy this where you have installed the java)
      5. In the Edit System Variable  window, specify the value of the PATH environment variable. Dont delete the existing value, just append a semicolon “;” and paste the path to bin directory of java. Ex. “C:\Program Files\Java\jdk1.7.0_71\bin”
      6. Click OK. Close all remaining windows by clicking OK.

2. ANDROID SDK INSTALLATION AND ENVIRONMENT SETUP

  • Download latest Android SDK zip – Click here  and extract the zip to your local machine.
  • Once extraction is done, do the following environment setup.
    • Windows 7:
      1. From the desktop, right click the Computer icon.
      2. Choose Properties from the context menu.
      3. Click the Advanced system settings link.
      4. Click Environment Variables and click New. Fill Variable Name as “ANDROID_HOME” and Variable Value as Path to ANDROID home directory  Ex. “D:\Automation Stuff\MobileAutomation\Android\android-sdk-windows” (Copy this where you have extracted the Android)
      5. In the Edit System Variable  window, specify the value of the PATH environment variable. Dont delete the existing value, just append a semicolon “;” and paste the this – ” %ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools;%ANDROID_HOME%\platforms; “
      6. Click OK. Close all remaining windows by clicking OK.
  • SDK MANAGER UPDATE AND INSTALLATION
    • Lunch SDK Manger : Open Command Prompt and Type : > android and enter
    • Android SDK Manger will be opened.
    • Select the following check box and click on “Install Package” … Okayyy… It takes long time just go to CCD and have a good cup of coffee or you can continue with other installation…

3. NodeJS INSTALLATION

  • Download latest NodeJS – Click here. Select Windows Installer (.msi) as per your OS 32/64 Bit.
  • Install the NodeJS on double clicking on downloaded msi file.

4. Microsoft .Net Framework(if not installed)

  • Download Microsoft .Net Framework(if not installed) – click here and install.

5. APPIUM INSTALLATION

  • Download latest APPIUM zip – Click here and unzip and install to your machine
  • To start the APPIUM just navigate to Appium.exe or you can start from the shortcut created on Desktop and use. (This is possible for latest version 1.4.x as they have release window exe).
  • OR You can download “maven jar” for enhanced implementation. go here (Dont use this time being, will come with this case later some blog)

6. Connect Android Phone in Debug Mode

  • First Enable Developer mode for your Android phone.
    • Open Settings> About> Software Information> More.
    • Then tap “Build number” seven times to enable Developer options. …
    • Go back to Settings menu and now you’ll be able to see “Developer options” there.
    • Tap it and turn on USB Debugging from the menu on the next screen.
  • Or Refer this link set developer mode or Google it very simple.
  • Now Connect your Phone by USB. It will be connected in Developer mode, accept if any pop your phone.

Thanks!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s