Skip to content
richdownie edited this page Sep 13, 2010 · 29 revisions

Watircuke is the first automated testing tool that is truly HTML element agnostic.
1. For example, a Button on your page may have an “id”, “name” and “class” attribute.

2. Lets take the class=“watir” example.

features/sample.feature

3. Now Cucumber matches the "I click the “watir” button regular expression with the proper Watir Step in the buttons.rb file under step definitions.

features/step_definitions/buttons.rb

  • Watir – Drives IE (Windows only)
  • FireWatir – Drives Firefox on Windows, OSX and GNU/Linux
  • SafariWatir – Drives Safari (OS X only)
  • RSpec – RSpec is the original Behaviour Driven Development framework for Ruby
  • Cucumber – Behavior Driven Development with Elegance and Joy

Once you have everything installed you can git…

git clone watircuke
cd.. to watircuke
then run "cucumber features"
Clone this wiki locally