This project is being used to demonstrate page object pattern for Test Automation in Ruby. From a very high level, the capabilities covered:
- Data-driven framework concepts using data_helper.rb
- Page Object
- Page Factory
- Modeling Page Objects [the most important one]
- A shopping cart workflow automated using Page Objects
- Waits and Synchronization concepts applied
- Executing on Selenium GRID
Read - http://www.seleniumframework.com/hybrid-framework/what-is-page-object/
- Checkout the project (
git clone <repo_url>
) - Run
bundle install
- Go through
.feature
files - Check step defnition
- If you get firefox native events error when hovering over top menu, it is a firefox issue. If you run it on remote webdriver, it should work fine
- IE really depends on which version you use, however I verified with IE11 on GRID and it ran fine
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request