Skip to content

Latest commit

 

History

History

ruby

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Ruby

Running the example

  1. Make sure that the selenium-webdriver gem is installed:
$ gem install selenium-webdriver
  1. Start a chromedriver process in a separate terminal:
$ chromedriver --port=9515
  1. Begin an import session using the mabl CLI in a separate terminal:
$ mabl tests import --name "Ruby Import Example"
  1. Run the test in this directory:
$ ruby test.rb
  1. View/run/save the imported test in the terminal where you started the import:

Adapting your own Ruby tests for import into mabl

In order to import your Selenium tests it is necessary to:

  1. Use a remote web driver process (e.g. start chromedriver or use Selenium Grid).
  2. Modify your test to use a Selenium proxy at localhost:8889 (see test.rb).
  3. Start an import session in the mabl CLI (mabl tests import...).
  4. Run your test
  5. Save your imported test using the mabl CLI.