Genium-Framework/Appium-Support


A set of tools to help in the process of creating automated mobile tests using Appium.

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.Genium-Framework:Appium-Support:v1.0.5'
	}
	dependencies {
		implementation("com.github.Genium-Framework:Appium-Support:v1.0.5")
	}
	<dependency>
	    <groupId>com.github.Genium-Framework</groupId>
	    <artifactId>Appium-Support</artifactId>
	    <version>v1.0.5</version>
	</dependency>

                            
    libraryDependencies += "com.github.Genium-Framework" % "Appium-Support" % "v1.0.5"
        
        

                            
    :dependencies [[com.github.Genium-Framework/Appium-Support "v1.0.5"]]
        
        

Readme


Appium Support

A set of tools to help in the process of creating automated mobile tests using Appium. Currently only Windows and Mac operating systems are supported.

Dowbload the jar from Maven or add the following to your pom.xml:

<dependency>
  <groupId>com.github.genium-framework</groupId>
  <artifactId>Appium-Support</artifactId>
  <version>1.0.5</version>
</dependency>

Current Supported Appium Server version: 1.6.0-beta3

Changelog

1.0.5

  • Implemented the ability to provide a custom location to both node executable file and the appium.js file. This is useful in case Appium is installed via npm or if the user wants to run custom versions of Appium and NodeJS together.
  • Added more unit test for Appium custom installations.

1.0.4

  • You can define a custom timeout value for the server while starting it instead of the default 30 seconds.
  • Changed the way to check if the server is running or not by sending an HTTP request and waiting for a response.
  • Minor code changes and bug fixes.

1.0.3

  • Fixed a bug with server running logic that caused the startServer method to go into an infinite loop.
  • Minor code changes.

1.0.2

  • Added support for Mac OS.

1.0.1

  • Minor code changes.
  • Adding unit tests to the project.

1.0.0

  • Start a server instance with a set of arguments.
  • Stop an already running server instance.
  • Check if a server instance is running or not.
Tested on environments
  • Windows 7 x86
  • Windows 7 x64
  • Mac OSX 10.9

Supported Java 1.5 and above