Automate application with Specflow and Selenium C#

Learn how Specflow and Selenium glues together for behavioral driven development (BDD) automation testing.
4.1 (29 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
2,005 students enrolled
Take This Course
  • Lectures 33
  • Length 5.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 1/2016 English

Course Description

This course will enable one to understand the complete End-to-End code development using Specflow and integrating Selenium with 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.

Again, this course, will not cover any basics of C# programming languages or Selenium automation testing, rather, we will directly discuss about the nitty-gritty details on Specflow and its great features to create much robust features and step definitions.

We will also see the power of Visual studio IDE intelli-sense working seamlessly with Specflow while writing feature files and mapping step definitions with various different classes (which is highly nagging while working with cucumber in ruby language)

What are the requirements?

  • This course will not address anything about basics of Selenium nor C#, hence one should have these knowledge

What am I going to get from this course?

  • Understand what Gherkin language specification is all about
  • Understand Behavioral Driven Development
  • Understand Specflow and its awesomeness enhanced with Visual studio IDE
  • Creating Selenium testcases with Specflow step definitions

Who is the target audience?

  • This course is designed for both Developers and testers
  • If you are a BA (Business analyst), then with power of BDD, you can express your business logic
  • Manual test engineers can understand how to write simple scenarios and help automation engineers to get the team job done

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Introduction to BDD and Specflow
Section 2: BDD and Specflow
Part 1 - Introduction

We will discuss about Gherkin syntax in detail in this video

Part 3 - Gherkin Syntax (Contd..)

In this video, we will introduce Specflow


In this video we will understand how features files and step definitions are working closely together to get the job done.


We will talk about Specflow Scenarios and how to work with scenarios in feature file.


In this video we will talk about Tables in Specflow and how to work with multiple data using Table Class of Specflow from feature file through step definitions.

Part 8 - Scenario Outline
Part 9 - Understanding Scenario context

Working with dynamic tables using Specflow.Assist.Dynamics


In this video we will talk about Specflow bindings and advanced binding types

Part 12 - Specflow Context Injections
Part 13 - Scoped bindings
Part 14 - Step Argument Transformation
Part 15 - Dynamic Table Conversation

In this video we will talk about Specflow+Excel plugin which is not FREE plugin though, but still helpful to understand what feature it has got. We will discuss about Specflow+Excel plugin in conjunction with Examples of Scenario outline.


This video address one of the issue happens due to Specflow+Excel plugin with Visual studio 2015, this issue may go soon in next update, but till then, this video is helpful !!!!


Sometimes, we may face no test in Test Explorer issue, this issue will be fixed in this video !!!

Part19 - Calling steps from step definition (BDD and Specflow)
Part 20 - Getting Feature, Step and Scenario info (BDD and Specflow series)
Part 21 - Running Specflow test in Parallel with Specflow 2.0 and NUnit 3
Part 22 - Parallel Execution with Specflow 2.0 + Selenium + NUnit
Part 23 - Parallel Execution with Specflow 2.0 + Selenium + NUnit (Part B)
Part 24 - Running Specflow scenarios based on Tags via Nunit 3.0 Console runner

In this lecture we will discuss how to work with FindInSet to verify Collection of data and Specflow Table.

Part 27 –Passing parameters to test method from Nunit console runner
Section 3: BDD with Selenium C# and Specflow
Part 2 - Setting stage ready for BDD with Selenium and Specflow
Part 3 - Writing simple BDD code with Selenium
Part 4 - BDD with Selenium POM and Specflow
Part 5 - BDD with Selenium POM (Page Navigation) and Specflow
Part 6 - Using Generics for Pages in BDD in Selenium with Specflow

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Mr Karthik KK, Software Architect, Consultant and Youtuber

I am Karthik K.K. I do consulting, blogging and researching on various different tools and technologies which inspires my interest. I have been into Software Automation Testing for over 10+ years now and my interest in learning new stuffs which enables automation has never been compromised.

Due to my passion in automation testing I got fully exposed to tools and languages like

Desktop & Web : QTP, Selenium, Specflow, VS Coded UI, Ranorex ,Test Complete and Cucumber
Mobile : Appium, Robotium,Calabash, Espresso, Selendroid
Languages : C#, Java, Ruby, Powershell, Javascript, VBScript 
Cloud Tools : Azure, Dockers
Misc Tools: Mockito, Rest-assured, Bound-Box,FluentAutomation
Interested in: MVC, Entity framework, LINQ, Fakes, Distributed deployment, SAAS

Ready to start learning?
Take This Course