Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

BDD with SpecFlow

(Duration : 2 Days)

SpecFlow helps domain experts and developers to communicate easily by binding business readable behavior specifications and examples to the underlying implementation. Acceptance Test Driven Development (ATDD) and Behavior Driven Development (BDD) are supported by SpecFlow, which are often used synonymously with Specification-By-Example. In BDD with SpecFlow training course, you will learn to use SpecFlow to write acceptance tests that are understandable by technical as well as non-technical stakeholders. This course will also enable developers to write code using Specflow feature files and scenarios by leveraging the power of Behavioral driven development.

The aim of this course is to give all the information you need to understand the basics of Gherkin language specification, Behavioral Driven development (BDD) and how to write scenarios to run Selenium test in much easier way with Specflow

In BDD with SpecFlow workshop, delegates will learn to:
  • Write feature files with scenarios for test projects.
  • Apply BDD techniques to build up living documentation for an application.
  • Bind business requirements to .NET code.
  • Run SpecFlow from Visual Studio.
  • Integrate SpecFlow with testing framework - NUnit.

The BDD with SpecFlow class is for developers and testers, who are involved in automating Gherkin scenarios. Product owners or business analysts who are in any relationship with coding are also welcome.

COURSE AGENDA

1

Gherkin

  • Introduction to BDD
  • Installing and configuring SpecFlow
  • Gherkin: writing your stories in a user-friendly language
  • Features
  • Scenarios
  • Steps - Given, When, Then, And, But
  • Data Tables in Steps
  • Creating Multiple Features and Step files
  • Organizing features and scenarios with tagging
  • Data-Driven Scenario Outlines
  • Usage of Background
2

SpecFlow

  • Adding/Deleting New Steps
  • Step Definitions Binding
  • Running and Debugging Scenarios and step Definitions
  • Parameterization to Promote step Definition Reusability
  • Using Regular Expression in Step Implementation
  • Usage of ScenarioContext, FeatureContext & StepContext
  • StepArgument Transformation
  • Dynamic Table Conversion
  • Calling Steps From Step Definition
  • Parallel Execution
  • Working with hooks
  • Usage of Context Injection
  • Usage of Pickles & PicklesUI
  • Extent Report Generation
3

Integrating Selenium WebDriver with SpecFlow

  • Adding Selenium DLLs
  • Creating the feature file
  • Creating automation steps
  • Integrating SpecFlow with nUnit
  • Creating Webdriver Script to Automate a Scenario

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X