Learn Software Asset Management Practices With SAM Specialist | 08 - 10 November 2021 | Virtual Classroom Learn more

Cucumber Java Training Course

Cucumber Java Is Delivered Online For Up To 10 People


Behaviour-Driven Development (BDD) has become a well-established approach to testing, providing ‘living documentation’ of the system under test, and being able to use the documentation to drive the test automation. Our BDD courses teach you what BDD is all about, how to write your Gherkin Feature files, and then how to bind the test automation code to the features.

Our Cucumber Java training course is available as on-site training at your location or as online training. Our online training is live, instructor-led in our virtual classroom. Cucumber Java is delivered over 3 days, with each approximately 3.5 hours online.

Our Cucumber Java training course can be delivered to up to 10 staff members from your organisation.

Please Note

You can book this course and hold it in credit until you have decided on a specific course date. Alternatively, please view our other course dates.
Exam Not Included
3 Days
£2880Excl. VAT

Course Outline

Introduction To BDD

A background to BDD and its benefits. The process of BDD. An overview of the tools available, terminology.

Introduction To Gherkin

Feature Files, introduction to the Gherkin language, basic syntax

More Gherkin

Using the Background fixture, Parameters, Doc Strings, Examples and Data Tables, using Tags to organise execution, commenting

Installation Of The Cucumber Framework

Cucumber Eclipse plugin, Adding the Maven Project dependencies, Creating a project structure, creating a Feature, formatting and execution of Feature Files

Step Definitions & Code Binding

Creating our Test Classes, Using prototype step definitions, fixing errors for executing feature files, creating step definition Methods, expanding Methods with Parameters

Deconstructing Step Definitions & Regular Expressions

Step Definition syntax, using Regular Expressions

Extending The code

Scenario Outline, In-line Step Table Iterating, using multiple annotations for one Method, re-using Methods for more than one Scenario

Running The Cucumber Tests

Using Cucumber, creating a JUnit Runner Class, Using Tags, Command-line execution, Results & Reporting

Integrating Cucumber Into The POM

Using Cucumber & WebDriver under the Page Object Model. Using Base Classes & Inheritance, Command line execution


Our Cucumber Java training course is the perfect introductory course on Behaviour-Driven Development. It covers writing Feature Files in Gherkin, then generating Step Definitions and then writing the code bindings using Selenium WebDriver.

About the Course

Our Cucumber Java training course covers all the essential principles to get you up and running in Behaviour-Driven Development of Cucumber and WebDriver Java Tests.

It is designed for beginners of BDD and Cucumber, it takes the newcomer through all the basic techniques of writing Feature Files in Gherkin, to writing the associated Step Definitions and code in Cucumber & WebDriver to executing from the command line.

Who Should Attend

Our Cucumber Java training course is recommended for anyone new to BDD and Cucumber.

Materials Provided

All of our delegates receive comprehensive workbooks for the Cucumber Java training course.

Organisational Benefits

Your team will walk away from the Cucumber Java training course being able to:

  • Understand the required installs and libraries to use Cucumber
  • Understand how to structure your automated Cucumber project
  • Gain a full understanding of how to write good Gherkin and Step Definitions
  • Understand how to refactor and re-use common Methods for Steps

Individual Benefits

Our Cucumber Java training course will take you through from beginner to writing effective feature files and then automating them using WebDriver.


  • A basic understanding of writing Selenium WebDriver Scripts (see our WebDriver Java course if required)
  • Some programming experience would be advantageous
  • The course is based on using WebDriver with Java & JUnit, but does not teach you Java as you can use a variety of programming languages with WebDriver and Cucumber.


You do not have to complete any prereading prior to the Cucumber Java training course.

Exam Overview

There is no formal examination included in the Cucumber Java training course.

Exam Type

No Exam

Professional Development Units - PDUs

There are no professional qualification credits associated with the Cucumber Java training course.


There is no formal examination or certification associated with the Cucumber Java training course.

Next Steps

Purple Griffon offer the following private virtual sessions for your team. Our Automated Software Testing training courses can be delivered on-site at your location or online for up to ten people:

Complete Microfocus UFT

Selenium WebDriver Java

Selenium WebDriver C#

Selenium WebDriver JavaScript

Cypress Introduction

Cucumber JavaScript


Call +44 (0)1539 736 828 now to discuss your training requirements and to book your sessions in the diary.


By the end of the Cucumber Java training course, you should have a thorough understanding of how to develop well-written Feature Files and Scenarios, How to manage Step Definitions and write associated Methods, how to organise the Cucumber project and how to integrate into the POM framework

Cucumber Java Course Dates

Course Filter

DD/MM/YYY - e.g. 31/12/2015
Showing 0 to 0 of 0 Total Course Dates.


There are currently no course dates that match your selected filter options. Please try another filter or contact one of our dedicated account managers on +44(0)1539 736 828 to discuss your requirements. Thanks.

Scroll Table to View Content