fbpx
Call us on  08000 199337 From overseas +44 (0)1344938011

BDD Driven Development using Visual Studio, SpecFlow and WebDriver C#

Book online today or if you need any assistance or help chosing the right course for you, please call our team on 08000 199337 and we will help point you in the right direction.

Classroom

From +Vat
View dates and book

Enquire Now

Course Overview

This comprehensive course covers all the essential principles to get you up and running in Behaviour-Driven Development (BDD) using Microsoft Visual Studio, SpecFlow and WebDriver.

Designed for beginners of BDD and SpecFlow, it takes the new-comer through all the basic techniques of writing Feature Files in Gherkin, to writing the associated Step Definitions and code in SpecFlow & WebDriver C#, to executing from the command line.

Read More

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.

The introductory course that takes you from beginner through to writing effective Feature Files and then Automating them using WebDriver.

Recommended for anyone new to BDD and SpecFlow.

Read Less

Entry Requirements

  • A basic understanding of writing Selenium WebDriver Scripts (we use C# bindings)
  • Some programming experience would be advantageous – The course is based on using WebDriver with C# & NUnit.

Exam

There is no exam requirement for this course.

Course Objectives

  • Understand the required Visual Studio Extensions and Libraries to use SpecFlow & WebDriver
  • Understand how to structure your automated SpecFlow 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
  • 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 SpecFlow project and how to integrate into the POM framework

Syllabus – Key points

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 SpecFlow Framework

SpecFlow Visual Studio plugin, installing the SpecFlow Libraries, WebDriver and other dependent libraries. Creating a project structure, creating a Feature File, 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 and Regular Expressions

Step Definition syntax, using Regular Expressions, using multiple annotations for one Method, re-using Methods for more than one Scenario

Handling Tables

Scenario Outline, In-line Step Table Iterating,

Executing the SpecFlow Features

Using SpecFlow, Using Tags, Results & Reporting, Command line execution, SpecFlow Fixtures for Execution Flow.

Integrating SpecFlow into the POM

Using SpecFlow & WebDriver under the Page Object Model.

Key technologies used

  • Visual Studio 2015
  • SpecFlow
  • Nunit
  • WebDriver C#

Reviews

There are no reviews yet.

Be the first to review “BDD Driven Development using Visual Studio, SpecFlow and WebDriver C#”

Course dates

There are no dates scheduled for this course now. Please call Paula Jones to enquire about this course on 08000 199337. When calling from overseas please call +44 207 264 2185. Alternatively, please email p.jones@tsg-training.co.uk and she’ll be in contact with you shortly.

This product is currently out of stock and unavailable.

Frequently asked questions

A Pearson VUE exam voucher enables you to book and sit your exam at your local Pearson VUE testing centre at a time and date convenient to you.  Pearson VUE centres are worldwide, and you will be able to choose the closest testing centre to you. You then go along to the test centre with your photo ID at the specified date and time and you will then take an electronic exam. Your exam voucher will have an expiration date and your exam must be sat before this date as these vouchers cannot be extended.

X