page-object pattern ruby
Ruby Cucumber
Latest commit 97a574f Nov 24, 2015 @machzqcq Testing travis

README.md

Build Status

Page Object Framework

This project is being used to demonstrate page object pattern for Test Automation in Ruby. From a very high level, the capabilities covered:

  1. Data-driven framework concepts using data_helper.rb
  2. Page Object
  3. Page Factory
  4. Modeling Page Objects [the most important one]
  5. A shopping cart workflow automated using Page Objects
  6. Waits and Synchronization concepts applied
  7. Executing on Selenium GRID

How to

Read - http://www.seleniumframework.com/hybrid-framework/what-is-page-object/

Instructions to use

  1. Checkout the project (git clone <repo_url>)
  2. Run bundle install
  3. Go through .feature files
  4. Check step defnition

Issues observed so far

  1. 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
  2. IE really depends on which version you use, however I verified with IE11 on GRID and it ran fine

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request