Skip to content

Mobile automation Demo using BDD tool Cucumber and Appium server

Notifications You must be signed in to change notification settings

cbroult/cucumber-appium

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Usage

You need to have all setup mentioned in the post http://shashikantjagtap.net/ios-automated-testing-in-the-bdd-with-appium-cucumber-on-mac-osx/

  $ git clone https://github.com/Shashikant86/cucumber-appium
  $ cd cucumber-appium
  $ rvm use 1.9.3 
  $ bundle install

To run with local profile, start Appium and

 $bundle exec cucumber features/plain_note.feature

To run against Sauce, you need to upload App to sauce using your sauce details also change usename and api key in the ‘features/support/env.rb‘ with you details

 curl -u USERNAME:API-KEY -X POST "http://saucelabs.com/rest/v1/storage/USERNAME/PlainNote.zip?overwrite=true" -H "Content-Type: application/octet-stream" --data-binary @/path/to/cucumber-appium/PlainNote.zip

Then you can run sauce feature with Appium.

bundle exec cucumber features/plain_note_sauce.feature

About

Mobile automation Demo using BDD tool Cucumber and Appium server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 91.2%
  • D 5.2%
  • Ruby 3.6%