2 added 215 characters in body
source | link

I am a Ruby fan so I can recommend that route.

Rather than Watir and Cucumber I would look to usingdirectly use Capybara.

https://rubygems.org/gems/capybara

Although commonly used within rails applications, it can be used outside of them too and provides a nice DSL for working with Selenium commands.
For an example see my https://github.com/durrantm/basic_app
Note how it sets:

Capybara.run_server = false
Capybara.default_driver = :selenium
Capybara.app_host = 'http://www.google.com'

With the right use of Page Object selectors and helper method you can end up with readable specs such as

...
find(p.css_has_license).click
fill_out_driver p
fill_in p.css_driver1_age_licensed, with: age_licensed
select credit_evaluation_option, from: p.css_credit_rating
select education_level_option, from: p.css_driver1_education
...

You can probably guess that we're collecting consumer car insurance information on our site!

I am a Ruby fan so I can recommend that route.

Rather than Watir and Cucumber I would look to using Capybara.

https://rubygems.org/gems/capybara

Although commonly used within rails applications, it can be used outside of them too and provides a nice DSL for working with Selenium commands.

With the right use of Page Object selectors and helper method you can end up with readable specs such as

...
find(p.css_has_license).click
fill_out_driver p
fill_in p.css_driver1_age_licensed, with: age_licensed
select credit_evaluation_option, from: p.css_credit_rating
select education_level_option, from: p.css_driver1_education
...

You can probably guess that we're collecting consumer car insurance information on our site!

I am a Ruby fan so I can recommend that route.

Rather than Watir and Cucumber I look to directly use Capybara.

https://rubygems.org/gems/capybara

Although commonly used within rails applications, it can be used outside of them too and provides a nice DSL for working with Selenium commands.
For an example see my https://github.com/durrantm/basic_app
Note how it sets:

Capybara.run_server = false
Capybara.default_driver = :selenium
Capybara.app_host = 'http://www.google.com'

With the right use of Page Object selectors and helper method you can end up with readable specs such as

...
find(p.css_has_license).click
fill_out_driver p
fill_in p.css_driver1_age_licensed, with: age_licensed
select credit_evaluation_option, from: p.css_credit_rating
select education_level_option, from: p.css_driver1_education
...

You can probably guess that we're collecting consumer car insurance information on our site!

1
source | link

I am a Ruby fan so I can recommend that route.

Rather than Watir and Cucumber I would look to using Capybara.

https://rubygems.org/gems/capybara

Although commonly used within rails applications, it can be used outside of them too and provides a nice DSL for working with Selenium commands.

With the right use of Page Object selectors and helper method you can end up with readable specs such as

...
find(p.css_has_license).click
fill_out_driver p
fill_in p.css_driver1_age_licensed, with: age_licensed
select credit_evaluation_option, from: p.css_credit_rating
select education_level_option, from: p.css_driver1_education
...

You can probably guess that we're collecting consumer car insurance information on our site!