Skip to content

clmathuriya/appium-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appium-examples

Get appium examples with Java client. #appium setup

  1. Install java 8 as follows:
	$ sudo add-apt-repository ppa:webupd8team/java
	$ sudo apt-get update
	$ sudo apt-get install oracle-java8-installer
	
  1. Download android sdk from http://developer.android.com/sdk/index.html#Other

  2. Set ANDROID_HOME to your sdk folder

  3. Download maven from http://mirror.fibergrid.in/apache/maven/maven-3/3.3.9/source/apache-maven-3.3.9-src.tar.gz and add to classpath

  4. Download node from https://nodejs.org/dist/v5.9.1/node-v5.9.1-linux-x64.tar.xz and add node/bin to your classpath.

  5. Install appium npm install -g appium

  6. Clone repository git clone https://github.com/clmathuriya/appium-examples.git

  7. Import maven project in eclipse

#development

  1. Update maven project right click on project > maven> update project
  2. Add Page class in package "com.appium.pages"
  3. Add TestNG tests in package "com.appium.tests"

#Running tests

  1. Start appium server using appium --command-timeout 30000
  2. Run project as maven test mvn test

#To run with headless emulator

  1. start emulator without ui emulator -avd test -no-window

About

Get appium examples with Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages