Email Twitter LinkedIn Google Plus Hamburger
Chat Now
Get in touch

BDD - Cucumber and WebDriver

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. Throughout the course practical examples are demonstrated, and the delegates get to practice what they have learned in each chapter against a web training application.

By the end of the 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.

BDD - Cucumber and WebDriver

£745 per delegate ex VAT

The course is run over 2 days and includes all course materials. Lunch and refreshments are provided for some onsite courses. Please check course details for further information.

Email a friend

Location

Select your location

Who should attend

  • This course is suitable for newcomers to BDD and Cucumber. There are some course
  • pre-requesites:
  • A basic understanding of writing Selenium WebDriver Scripts
  • 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.

Exam Details

There is no exam as part of this course.

Objectives

  • 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 re-factor and re-use common methods for Steps

"Well pitched introduction to BDD, would have found it difficult without the WebDriver knowledge from the prior training course, which provided a good grounding in the concepts."

BDD Cucumber and WebDriver delegate

Course Content & Agenda

This course covers nine key areas over two days:

Introduction to BDD Artboard 1 copy 4

A background to BDD and its benefits

The process of BDD

An overview of the tools available and terminology

Introduction to Gherkin Artboard 1 copy 4

Feature files

Introduction to the Gherkin language, basic syntax

More Gherkin Artboard 1 copy 4

Using the background fixture, parameters, doc strings, examples and data tables

Using tags to organise execution

Commenting

Installation of the Cucumber Framework Artboard 1 copy 4

Cucumber Eclipse plugin

Installing the Cucumber, Gherkin and other libraries

Creating a project structure

Creating a feature, formatting and execution of feature files

Step Definitions & Code Binding Artboard 1 copy 4

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 and Regular Expressions Artboard 1 copy 4

Step definition syntax

Using regular expressions

Extending the Code Artboard 1 copy 4

In-line step table iterating

Using multiple annotations for one method

Re-using methods for more than one scenario

Running the Cucumber Tests Artboard 1 copy 4

Using Cucumber

Creating a junit runner class

Using tags

Results & reporting

Integrating Cucumber into the POM Artboard 1 copy 4

Using Cucumber & WebDriver under the page Object Model

Using base classes & inheritance

Command line execution

This site uses cookies to improve user experience and measure performance. If you continue without changing your settings, we assume your consent.

Continue