:gem: Ruby library for Appium
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.
Rubylibcore is also available as a Ruby client for Appium.
ruby_libwraps the core library with some additional helpful methods. Ordinary,
ruby_libworked with class driver,
$driver, mainly. We can avoid the class driver with current
ruby_lib, but if you'd like to implement your test cases based on instance driver,
@driver, you can consider using
9.8.0requires Appium over
9.7.5can work with Appium under
$ npm install -g appium $ appium
Update rubygems and bundler
bash $ gem update --system $ gem update bundler
Install the latest gem release
bash gem uninstall -aIx appium_lib gem install --no-rdoc --no-ri appium_lib
SAUCE_ACCESS_KEYSauce API key
SAUCE_ENDPOINTAlternative Sauce Appium Server endpoint (only use if directed)
(Note: If these variables are set, all tests will use Sauce Labs unless over-ridden in configuration.)
ruby_libcall the methods.
Pry.config.pager = falseis set if you have no
This repository has examples for running tests in parallel. Read ios_tests to see them.