badarinath / ruby_lib

Ruby library for Appium

Home Page:http://rubygems.org/gems/appium_lib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

appium_lib Gem VersionDependency Status

Helper methods for writing cross platform (iOS, Android) tests in Ruby using Appium. Note that user waits should not exceed 120 seconds if they're going to run on Sauce Labs.

Make sure you're using Appium 1.0.0 or newer and Ruby 1.9.3+ with upgraded rubygems and bundler.

Start appium server

node .

Install / Upgrade

Update rubygems and bundler.

gem update --system ;\
gem update bundler

Install the latest gem release.

gem uninstall -aIx appium_lib ;\
gem install --no-rdoc --no-ri appium_lib

Sauce Labs env vars

  • SAUCE_USERNAME Sauce username
  • SAUCE_ACCESS_KEY Sauce API key

Troubleshooting

  1. Does adb kill-server; adb devices list an active Android device?
  2. Are you running appium from source? node .

Documentation

About

Ruby library for Appium

http://rubygems.org/gems/appium_lib