This gem leverages the Watir test framework to allow for easy modeling of specific web application information, allowing it to be decoupled from the tests. The intention is to provide a solution that is easy to use and maintain, while still providing power and flexibility.
Create a class that represents a unique page or modal on your site and have it inherit WatirDrops.
Please see spec/test_page.rb for an example.
Once you have created the representation of the page, your automated test can manipluate the page object.
Please see spec/watir_drops_spec.rb for examples.
WatirDrops is written to accept several different ways to model test data.
Please see spec/form_filling_spec.rb for examples.
Add this line to your application's Gemfile:
gem 'watir_drops'
And then execute:
$ bundle
Or install it yourself as:
$ gem install watir_drops
To use this library:
require 'watir_drops'
Bug reports and pull requests are welcome on GitHub
The gem is available as open source under the terms of the MIT License.