Skip to content

manolkalinov/cucumber-appium-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cucumber Appium Android Example

This project demonstrates BDD tests automated on an Android device powered by Cucumber and Appium

This project comes with:

Prerequisites: (This has been tested on the following system)

  • Mac OSX 10.8.5
  • with $ANDROID_HOME environment variable set pointing to your android SDK
  • Java 1.6
  • Android SDK 22.2.1
  • Ant Version 1.8.4
  • adb 1.0.31
  • Ruby 1.9.3
  • with bundler gem (gem install bundler)
  • Appium 0.10.1 (http://appium.io/)
  • An Android Device (Nexus 4 Android Version 4.3)

Steps:

  • Connect Android device then start the Appium server

      adb devices
      appium &
    
  • Build the App/APK (In another terminal)

      cd AndroidTestApp
      android update project --subprojects --target "android-18" --path .
      ant clean debug
      cd ..
    
  • Run the BDD tests

      bundle install
      bundle exec cucumber
    

About

Example running Cucumber on Appium on Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published