Getting the most out of Cucumber, Gherkin and Selenium

Apr 27, 2017 3:29:00 PM / by Eric Taylor posted in Cucumber, Gherkin, Automated Testing, BDD, Testing, Selenium, ATDD, Modernized Technology

1 Comment


Cucumber, Selenium and Gherkin have become popular tools for helping teams implement test automation or what is often referred to as Acceptance Test Driver Development (ATDD) or Behavior Driven Development (BDD).  In this article we will cover some more advanced features of the Gherkin language that can help you write tests that are simpler and more reusable.

We will cover:

  1. Using Regular Expressions for Dynamic Data
  2. Scenario Outlines
  3. Tables as Arguments
  4. Backgrounds

In this article series we use Ruby as the implementation language (and we recommend Ruby when there is no other existing preference). However, these examples will translate easily to other languages like Java.


Read More

3 Scenarios To Consider in Gherkin's GWT Format for User Stories

Sep 7, 2016 3:49:07 PM / by Urooj Hussain posted in Agile, Gherkin


As a product owner, I am constantly challenged with writing user stories that meet my stakeholder needs. A key deliverable from a Product Owner is having user stories with crisp acceptance criteria. Having clear acceptance criteria enables the scrum team’s ability to deliver high-quality software. It also enables the team to make commitments toward sprint goals while ensuring that the business is getting high value deliverables based on the decomposition of the highest priority epics. The challenge in writing good user stories is always the amount of details to add to a user story. A good user story should have enough details to understand the business intent, the user roles, the goal and the depth so that the team can understand it to produce a workable prototype or software and the business can understand it.

Read More

The 5 Step Guide for Selenium, Cucumber, and Gherkin

Aug 22, 2016 8:00:00 AM / by Eric Taylor posted in Ruby, Cucumber, Gherkin, Automated Testing, BDD, Selenium, ATDD, Modernized Technology


Increasingly, IT development organizations are turning to automated testing techniques to improve the quality of their code and to save time and money. While this market remains fractured, Selenium, Cucumber, and Gherkin have become quite popular and are increasingly the frameworks of choice for user interface and integration test automation.

This guide is intended for someone who is not familiar with Selenium, Cucumber, Gherkin and would like to get started. We will go through the installation of the framework, describe how the technologies work together, and then write a few tests.

Through this guide you will install and use the following:

  • Ruby (2.3.3 or higher)
  • Selenium Webdriver (3.2.1) 
  • Cucumber (2.4.0)
  • Gherkin (4.1.1)
  • Text Editor or IDE (SublimeText, Atom, Notepad++, Eclipse)
  • Firefox 

Platforms Covered:

  • Mac OS X
  • Windows

NOTE: As of the latest update of this blog on March 21, 2017 we suggest you use Selenium Webdriver 3.2.1 and not a newer version since the newer versions of Selenium Webdriver are incompatible with Firefox.

Read More

Subscribe to Email Updates

Lists by Topic

see all