Appium Studio for Eclipse - Simplify your Appium testing with a quick configuration of your Java project.

Once applying the configuration/nature, to your project the following changes will take place:

  1. A classpath container will be added so that all of the needed jar files will be available.
  2. A BaseTest class will be created. This class will provide some basic framework services to your test initialization.
  3. An AndroidDemoTest and an IOSDemoTest will be added.
  4. cloud.properties files are created with the information about the used cloud.
  5. A build.gradle is added for simple integration into CI environments like Jenkins.

To apply configuration do the following:

  1. Create a new Java project (or use an existing one).
  2. Right-click on the Java project, select 'Configuration' then select 'SeeTest TestNG Nature' or 'SeeTest JUnit Nature'.

Appium Studio for Eclipse - Create new Project

Once the configuration is applied your project should look like the following:

Create Appium Eclipse Project 1

To verify your environment configuration (TestNG) right click on the 'testng.xml' and execute it. It will execute both the AndroidDemoTest as well as the IOSDemoTest in parallel.   Create Appium Eclipse Project 1

Note about the cloud.properties file. The cloud.properties file hold the information needed to connect to the server during runtime. It is standard Java properties file:

#Mon Sep 04 12:59:25 IDT 2017 url=https\://cloud.seetest.io:443 accessKey=eyc..dfQ.eyJ..In0.q2k9..O6zs project=Project I username=user1

In the example above the cloud.properties file directs the execution to URL https://cloud.seetest.io under user user1

The authentication is performed using accessKey The current access key is retrieved automatically but in case your credentials are changed or you create new access key, you need to update this file in order to be able to execute the tests in the project.

Please see more information about using access key here.

Appium Studio for Eclipse - Installation and device connection
Appium Studio for Eclipse - Installation and device connection
Previous Article
Appium Studio for Eclipse - Install your application
Appium Studio for Eclipse - Install your application
Next Article
Lakshay Sharma
I’M LAKSHAY SHARMA AND I’M A FULL-STACK TEST AUTOMATION ENGINEER. Have passed 16 years playing with automation in mammoth projects like O2 (UK), Sprint (US), TD Bank (CA), Canadian Tire (CA), NHS (UK) & ASOS(UK). Currently, I am working with RABO Bank as a Chapter Lead QA. I am passionate about designing Automation Frameworks that follow OOPS concepts and Design patterns.
Reviewers
Virender Singh's Photo
Virender Singh

Similar Articles

Feedback