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.
node .
Update rubygems and bundler.
gem update --system ;\
gem update bundlerInstall the latest gem release.
gem uninstall -aIx appium_lib ;\
gem install --no-rdoc --no-ri appium_libSAUCE_USERNAMESauce usernameSAUCE_ACCESS_KEYSauce API key
- Does
adb kill-server; adb deviceslist an active Android device? - Are you running appium from source?
node .