Sunday, 24 January 2016

Appium Set-up before running first Program

Prerequisite to use APPIUM

3.Any IDE(IntelliJ IDEA,Eclipse,NetBeans,Android Studio)
5.Appium client libraries (http://appium.io/downloads.html)
6.Appium Installed
7.APK App

1.JAVA JDK(In reference with Ubuntu OS)

2.Android SDK
  • After downloading Android SDK ,unpack the .zip file and store it in user specified directory.
  • By default,Android SDK tool don’t contain all that needed for development ,so we need to download some packages from Android SDK Manager .
  • To download the packages open the terminal and navigate to tools folder and launch SDK Manager.
            /Android/Sdk/tools$ ./android
  • add the Android SDK tools folder to your path so you can run android .
  • Define ANDROID_HOME env var pointing to SDK root.
             Eg::(In reference with Ubuntu Os)
                    PATH=$PATH:path to platform-tools
                    PATH=$PATH:path to tools
                    PATH=$PATH:path to build-tools
                    ANDROID_HOME=path to SDK
                    export ANDROID_HOME
  • Open New terminal and type android
           This will open Android SDK Manager
           Select
Android SDK Tools
Android SDK Platform tools
Android SDK Build-tools(latest version)
  • Open the Android x.x (latest version folder ) Ex:Android 5.1.1(API 22)
Select
SDK Platform
ARM EABI v7a System Image
  • Open the Extras directory and select
Android Support Library
 Android Support Repository

Once you have selected all the desired capabilities

1.Click on Install X packages

2.In the next window double click each package name on the left to accept the license agreement for each

3.Click Install
Once it shows Done close the Android SDK Manager.

3)Check if adb is installed
Open terminal and navigate to platform tools and type adb devices
It will show the list of devices connected to your PC.

4)UIAutomatorviewer
Open terminal and navigate to tools and type uiautomatorviewer.
It will open UI Automator window
Screenshot from 2016-01-25 12:19:57.png


6)Install any IDE
   Install any IDE like IntelliJ IDEA,Eclipse,NetBeans,Android Studio.


7)Download Selenium and Appium client libraries jar file
Click on the links given and download the jar files.Store all the jar files in one folder.
Also java-client(latest jar file)


2 comments: