About this Course

Code TPT60500
Duration 2 Days

Developers, testers and the business have many issues collaborating to produce concrete examples of what they want as this usually raises misunderstandings and incorrect assumptions – which is a good thing.

Cucumber enables these examples to be automated as features which not only informs the team about what examples are working but also provides the software specification and tests in one document.

This course aims at providing a solid foundation to the attendee in understanding how to write Features and Scenarios using Gherkin and be able to run them as automated specifications eventually using Selenium.

The objectives of this course are to not only teach the tool capabilities, but to also focus on practical steps in the real world. The course provides a hands-on walkthrough to allow attendees to understand the steps in making Cucumber Features and Scenarios in the real world.

  • Who should attend?
  • Agile testers
  • Test automation specialists looking to learn Cucumber
  • Testers wishing to become automation specialists.


Although it is beneficial that attendees have a coding background (ideally in Java), this is not essential. The code examples used during the course are fully explained in the training environment for attendees less experienced in Java to access.

Delegates will learn how to

On completion of the course, attendees will understand how to configure Cucumber in IntelliJ and how to automate using the tool to create working Features, Scenarios and Scenario Outlines.



  • Cucumber Overview
  • Core skills taught on the course

Installation and Configuration

  • Creating a new Java project in IntelliJ

Creating And Running A Feature File

  • Features overview
  • Creating our own Feature files
  • Adding Scenarios

Using Arguments In A Feature File

  • Using Arguments in the Feature File
  • Deciphering the Feature File Arguments
  • Handling the Arguments in the Step Definition

Using Scenario Outlines In A Feature File

  • What is a Scenario Outline
  • Using a Scenario Outline

Using Data Tables In A Feature File

  • What are Data Tables
  • Using Data Tables in a Scenario
  • Adding the Data Table to the Step Definition

Using The Runner Class

  • Using a Scenario Outline
  • About the Runner class

Adding a new Java class

  • About the Runner class
  • Why we need a new Java class
  • Creating a new Java class
  • Adding some new methods to the Java class
  • Accessing a Web Site

Adding the Selenium code

  • About the Runner class
  • Starting/Stopping the Firefox Browser Window
  • Recording the steps in Selenium
  • Adding the Selenium steps to the Java clas
  • Attaching Screenshots On Failure

Behaviour Driven Development (BDD)

  • BDD Overview
  • How BDD is Used
  • Using our Scenarios to drive development

2 Days


This is a QA approved partner course

Delivery Method

Delivery method


Face-to-face learning in the comfort of our quality nationwide centres, with free refreshments and Wi-Fi.

Trusted, awarded and accredited

Fully accredited to ensure we provide the highest possible standards in learning

All third party trademark rights acknowledged.