/CucumberTestAndroidWithAppium

My first test android using appium and cucumber.

Primary LanguageRuby

CucumberTestAndroidWithAppium

A simple test of Android using Appium and Cucumber.

Required to run this project

  • Ruby (used version 2.3.1)
  • Cucumber (used version 3.1.0)
  • Appium Server
  • Node
  • JVM (Java Virtual Machine)
  • Android SDK or Android Studio
  • Android Emulator
  • Selenium Client

Step by step to run this project

  1. Make sure you have been installed all components to run this project and all enviroment variables has been configured.
  2. Don't forget to install dependecies to this project, go to directory CucumberTestAndroidWithAppium/ directory and type in your terminal :

$ bundle install

  1. Start your Appium Server, type in your terminal :

$ appium

  1. Run your Android Emulator, go to Android/sdk/tools directory and run this following code in your terminal :

$ emulator -avd 'YOUR-DEVICE-NAME'

  1. Now go to CucumberTestAndroidWithAppium/ and run this code :

$ cucumber

  1. Everything will be run, looks like magic!

Get components and Tutorial