The ITIL® 4 Managing Professional Transition (MPT) Deadline Has Now Been Extended Until 30 September 2022. Last Chance To Transition From ITIL® V3 To ITIL® 4! Learn more

Cucumber JavaScript Training Course

Cucumber JavaScript 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 JavaScript 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 JavaScript is delivered over 3 days, with each approximately 3.5 hours online.

Our Cucumber JavaScript 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 Syllabus

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

Installing Cucumber with npm. Creating a project structure, creating a Feature, execution of Feature Files

Step Definitions & Code Binding

Using prototype step definitions, creating step definition Methods, expanding Methods with Parameters, Step Definition syntax, using Regular Expressions

Running The Cucumber Tests

Using Cucumber Command Line Interface, CLI parameters, Results & Reporting, HTML reports


Using Hooks in cucumber-js (BeforeAll, Before, After, AfterAll), Cucumber Timeouts

The Cucumber World Object

Attaching items to World, Creating your own custom World Constructor

Tables & Scenario Outlines

In-line Step Table Iterating, Scenario Outline Data Handling

Integrating Cucumber Into The POM

Using Cucumber & WebDriver under the Page Object Model. Using Helpers

VS Code Tips

Cucumber Icon Packs, Setting up GoTo Definitions Shortcut, Debugging scripts

Learning Outcomes

Our Cucumber JavaScript training course is the perfect introduction to Behaviour-Driven Development. This training course covers writing Feature Files in Gherkin, then generating Step Definitions and then writing the code bindings using Selenium WebDriver JavaScript. Our Cucumber JavaScript training course uses Cucumber-JS, and Selenium WebDriver JavaScript all in Microsoft’s Visual Code.

The prerequisite is that you will have experience with some WebDriver or attended our Selenium WebDriver JavaScript training course.

Who Should Attend

Our Cucumber JavaScript training course is 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.

What's Included

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

Entry-Level Requirements

  • A basic understanding of writing Selenium WebDriver JavaScript Tests or attended our Selenium WebDriver JavaScript training course.
  • Some programming experience would be advantageous - The course is based on using WebDriver JavaScript & Chai with NodeJS, but does not teach you JavaScript as you can use a variety of programming languages with WebDriver and Cucumber.

Recommended Reading

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

Exam Information

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

Exam Type

No Exam


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

What's Next

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 Java


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

Additional Information

By the end of our Cucumber JavaScript 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 JavaScript 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