Tuesday, 3 January 2017

Appium Setup with Eclipse

Setting up appium with eclipse for windows is very simple and this post further simplifies it. While Reading the post follow the instructions step by step and you will be ready with your setup.



Video Tutorial -



1. Install Java Development Kit (JDK)-

The Java Software Development Kit (Java SDK or JDK) is an application created by Sun Microsystems to create and modify Java programs.To install that  go to THIS LINK. Download the latest version of java and install it.

2. Setup Java Environmental Variable Path  -

Go to to Start Menu and searach for 'Environmental variable' and click on it. Then Click on Environmental variable and add New System Variable with variable name as JAVA_HOME and classpath as your jdk path

3. Install Eclipse

Download Eclipse from This LINK .
Click on .exe file.

Eclipse Installation
Eclipse Installer

Select Eclipse IDE for Java Developers option.

Eclipse Installation

Then Accept the Terms and Conditions

Eclipse Installation

Eclipse will be installed
Eclipse

4. Download and Install Appium sever

Download Appium Server from this Link
Click on .exe file.

Appium Server Installation

Select Desktop Icon creation checkbox

Install Appium Sever

Click on Install
 
Install Appium

Give the Path

Appium Setup

Launch and check the Appium Sever
Appium Setup

5. Download Selenium Client Jars

Download the selenium jars from HERE and unzip the folder. Remember to download selenium client for Java.

6. Download Appium Java Client

Download the selenium jars from HERE and unzip the folder.Remember to download appium client for Java.

 7. Appium Setup in Eclipse

Create new project

Right click on the project click on Build Varient -> Add External Archieves -> Add all jars of selenium client folder and Java Client folder

Appium with Eclipse


Click on Add Libraries -> Junit and add Junit Library.
Appium Setup with Eclipse Project


I Hope your are done with your Setup now. Sit back relax and start exploring appium tutorial for writing test cases.Please share your feedback in the comment section below and follow me on social media for latest post updated.




7 comments:

  1. can you mention the jar files to add in build path or screen shots of jar files

    ReplyDelete
    Replies
    1. Hi , you need to add all the jar files which is mentioned in the post with download link.

      Regards,
      Anuja

      Delete
  2. Hi, iam getting error: cannot find module 'sprintf-js' when starting appuim 1.4.16.1 node server..can you help me this...

    ReplyDelete
  3. In eclipse, you said create project. Did you mean any specific type of project like for example Maven project or Java type project?

    And one mistake there: "Download Appium Server from this Link" --> But there is no link there. Can you update your post?

    Any way, Good writing.

    ReplyDelete
    Replies
    1. Hi,

      This for creating Java project and I have updated link to download appium server. Thanks for informing

      Regards,
      Anuja

      Delete
  4. Can you provide some good Appium tutorial links according to your experience?

    ReplyDelete