Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

madhank93/Selenium_ruby_using_Rspec_and_Capybara

Repository files navigation

OpenHRM Scripts | Selenium Ruby using Rspec and Capybara

To run Selenium tests, Follow the cmd in Terminal:

bundle install
bundle exec rake spec

Project folder structure

.
├── Gemfile
├── Gemfile.lock
├── README.md
├── Rakefile
├── base_class.rb
├── browsers
│   ├── chromedriver
│   └── geckodriver
├── credentials.rb
├── failures
│   └── failure_log.txt
├── locators.rb
├── message.rb
├── pages
│   ├── login.rb
│   └── nav_bar.rb
├── reports
├── spec
│   └── login_spec.rb
├── spec_helper.rb
└── wait_for_ajax.rb

Page object model and Fluent Interface are the test design pattern is used.