Cucumber

QA & Testing Related with Cucumber.

This is a compilation of useful info found online.

BDD intro

Cucumber intro

INSTALLATION STEPS on Local or VM

SELENIUM

Videos of installation: very useful!

Working with GEMS

Desktop Web Automation Using Selenium-Cucumber-Ruby

Pre-requisites

  • Mandatory
  • Optional
    • Sublime (Text Editor)  –  Download and Install sublime
    • Ansicon  –  Download ansicon to get colored output on Windows
    • Chrome driver – Download chrome driver for selenium.
    • Internet explorer driver – Download Internet explorer driver for selenium.
  • Or download selenium-cucumber bundle where you will find all the above requirements.

INSTALLATION GUIDE WITH IMAGES

Ruby on Rails

INSTALLING CUCUMBER AND CAPYBARA IN WINDOWS 8 – 64 BIT OS

THIS IS THE INSTALLATION STEPS USED

see also: https://cucumber.io/docs/reference/ruby

Absolute beginner instructions

Hassle-Free Start Guide for Ruby, Cucumber, and Capybara on Windows

  • http://www.swtestacademy.com/ruby-cucumber-and-capybara-on-windows/

Complete setup guide for Ruby, Cucumber and Watir or Selenium webdriver on Windows

Step 1 – Install Ruby

Step 2 – Extract DevKit

Explanation/details:

Make sure you create a new folder, it extracts the lib and bin folders to that location, there is no root folder such as DevKit for example.

DevKit is needed because Cucumber requires the json gem. Without installing DevKit you would get the error:
ERROR: Error installing cucumber:
The ‘json’ native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from ‘http://rubyinstaller.org/downloads‘ and follow the instructions
at ‘http://github.com/oneclick/rubyinstaller/wiki/Development-Kit

Step 3 – Install DevKit

Goto the root folder where you extracted DevKit and execute the commands:

Step 4 – Install the required gems

Explanation/details:

  • Installing rspec because it is a commonly used gem.
  • win32console supports colored output on the dos command line when executing the tests!
  • watir-webdriver requires selenium webdriver, so that one will be installed always. If you only want selenium-webdriver, just do gem install selenium-webdriver instead.

When creating an install_gems.bat file including these commands, make sure to use the CALL command

Step 5 – Start with your Cucumber and Webdriver setup

New to cucumber? Have a look at our Web Testing With Cucumber blog!

Other docs: see https://cukes.info/docs#installation

Getting Started with Ruby, Cucumber, and Capybara on Windows

  • http://agileforall.com/getting-started-with-ruby-cucumber-and-capybara-on-windows/
  • http://seleniumcucumber.wordpress.com/

OTHER INSTALLATION GUIDES

Setting up Cucumber on MAC OS X

  • http://www.paradigmitconsulting.com/setting-up-cucumber-on-osx/
  • http://digitalab.org/2014/03/install-cucumber-mac/
  • https://mayxu.wordpress.com/2012/04/17/complete-mac-setup-guide-for-rubycucumberwatirselenium-12/
  • https://sifranklin.wordpress.com/2014/05/23/getting-started-with-ruby-cucumber-and-capybara/

Gherkin and Behat/PHP

Javascript Implementation (to research)

Selenium Driver