Skip to content

Description Behaviour Driven Development using Visual Studio, SpecFlow and WebDriver C#


TSG Training Limited

Summary

Price
£894 inc VAT
Study method
Classroom
Duration
Full-time
Qualification
No formal qualification
Additional info
  • Tutor is available to students

Location & dates

Location
Address
43 Temple Row, Birmingham
Temple Row
BIRMINGHAM
West Midlands
B25LS
United Kingdom

Overview

Please be aware that before enquiring, course venue may be subject to change. This course is open to corporate bookings and individuals who are self-funding.

Description

About the Course

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.

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.

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

Course Pre-requisites

  • 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.

Key Technologies used

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

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.

Questions and answers

Reviews

Currently there are no reviews for this course. Be the first to leave a review.

FAQs

Study method describes the format in which the course will be delivered. At Reed Courses, courses are delivered in a number of ways, including online courses, where the course content can be accessed online remotely, and classroom courses, where courses are delivered in person at a classroom venue.

CPD stands for Continuing Professional Development. If you work in certain professions or for certain companies, your employer may require you to complete a number of CPD hours or points, per year. You can find a range of CPD courses on Reed Courses, many of which can be completed online.

A regulated qualification is delivered by a learning institution which is regulated by a government body. In England, the government body which regulates courses is Ofqual. Ofqual regulated qualifications sit on the Regulated Qualifications Framework (RQF), which can help students understand how different qualifications in different fields compare to each other. The framework also helps students to understand what qualifications they need to progress towards a higher learning goal, such as a university degree or equivalent higher education award.

An endorsed course is a skills based course which has been checked over and approved by an independent awarding body. Endorsed courses are not regulated so do not result in a qualification - however, the student can usually purchase a certificate showing the awarding body's logo if they wish. Certain awarding bodies - such as Quality Licence Scheme and TQUK - have developed endorsement schemes as a way to help students select the best skills based courses for them.