Selenium/Ruby

This tutorial will assume that you are running tests from your machine, targeting beta cluster.

Examples will:


 * open browser
 * go to main page
 * check that Log in link is present
 * close browser

The stack:

Selenium + MiniTest Assertions
In addition to the above stack, this example additionally uses:

Save the code in file (for example ) and run it.

Output if everything is fine.

Output if there is a problem.

Ruby + Selenium + RSpec
This example will use Ruby, Selenium and RSpec.

Save the code in file (for example ) and run it.

Ruby + Selenium + Cucumber
This example will use Ruby, Selenium and Cucumber.

Save the code in files and run Cucumber.