[Wtr-general] Watir on Rails

Dave Hoover dave.hoover at gmail.com
Thu Sep 7 02:39:07 EDT 2006


I have just released a Ruby on Rails Plugin that allows for easy Watir
testing in Rails.  To install the plugin in your Rails project,
execute

  ./script/plugin install svn://rubyforge.org/var/svn/watir-on-rails

You can then use the generator to get you started on writing your
first Watir on Rails test...

  ./script/generate watir SuccessfulLogin

Your Watir tests will live in test/watir and can be executed from Rake
like this...

  rake test:watir

In your Watir tests you will have access to all the standard Rails
testing conveniences, such as fixtures and ActiveRecord APIs.

More information can be found at http://watir-on-rails.rubyforge.org/

Watir on Rails supports both Watir::IE and Watir::Safari.


More information about the Wtr-general mailing list