Selenium/Ruby

This tutorial will assume that you are running tests from your machine, targeting beta cluster. Code from this page is available at selenium-mediawiki-rb repository. More details about the stack are available at Selenium/Ruby stack page. selenium-mediawiki-cucumber repository has more code examples.

Examples will:


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

The stack:

Advantages

 * Good and relatively simple stack with assertions, testing framework, page object library and shared code between MediaWiki repositories.

Disadvantages

 * Several new tools to learn.

Code
Save the code in files and run Cucumber.

Output
Everything is fine.

There is a problem.