Bdd With Selenium Webdriver And Speckflow Using C

Learn Behaviour Driven Development using the two most powerful tool, Webdriver and Specflow with C# as language binding!

Last updated 2022-01-10 | 4.3

- By the end of this course you will give have great understanding Selenium Webdriver using C#
- How to use Selenium Webdriver to test web based application and what are the advantages of Selenium Webdriver over Selenium RC
- This tutorial will give you great understanding of Selenium Webdriver
- and after completing this tutorial
- you will be at intermediate level of expertise from where you can take yourself to higher level of expertise. Also you will have great understanding of C#

What you'll learn

By the end of this course you will give have great understanding Selenium Webdriver using C#
How to use Selenium Webdriver to test web based application and what are the advantages of Selenium Webdriver over Selenium RC
This tutorial will give you great understanding of Selenium Webdriver
and after completing this tutorial
you will be at intermediate level of expertise from where you can take yourself to higher level of expertise. Also you will have great understanding of C#

* Requirements

* The tutorials are designed for beginners with little or no automation experience. Everything is taught from scratch!
* Before proceeding with this tutorial
* you should have a basic understanding of Visual Studio with C#
* text editor and execution of programs
* etc.

Description

Selenium Webdriver is one of the most well-known testing frameworks. It is an open source project that allows testers and developers alike to develop functional tests to drive the browser. Selenium Webdriver can work on any browser that supports JavaScript, since Selenium has been built using
JavaScript.

The course is not limited to following content. In future I will keep adding the new topics to this course.

Basic of C# Programming

In this section, we are going to discuss about basic of C# programming language

1. Creating the Console Application
2. Data Types in C#
3. Conditional & Control Statements
4. Class & Objects
5. Inheritance


MsTest

In this section, we will discuss about MsTest attributes such as

1. TestClass and TestMethod
2. TestInitialize and TestCleanup
3. ClassInitialize and ClassCleanup

So on...

And source code shown as part of video lecture will be provided for download

Who this course is for:

  • This tutorial is designed for Software Professionals, who are willing to learn Selenium Webdriver in simple and easy steps
  • All the manual tester who are looking for the automation knowledge
  • Developer/Automation Testers who are migrating from Selenium RC to Selenium Webdriver

Course content

28 sections • 158 lectures

Creating Console Application Preview 07:03

DataTypes in C# Preview 07:11

Conditional & Control Statments Preview 17:54

Class Object & Methods Preview 22:33

Static Variables and Methods Preview 10:53

Inheritance Preview 09:16

Constructor Chaining & Overloading Preview 09:58

Method Overloadin and Base Keyword Preview 08:05

Abstract Class Preview 10:58

Interface Preview 11:04

Exception Handling Preview 09:23

Property Preview 08:39

Presentation Slide Preview 15 pages

VS2019 - Alert Preview 00:03

MSTest Attribute Part - 1 Preview 13:33

MSTest Attribute Part - 2 Preview 10:12

Presentation Slide Preview 5 pages

FireBug and Firepath Preview 06:37

Xpath and their usage Preview 16:12

Presentation Slide Preview 4 pages

Xpath Function,Absolute and Relative Xpaths Preview 18:34

Presentation Slide Preview 4 pages

Xpath finding Links, Buttons, Input box, Radio buttons, Checkbox Preview 10:30

Css Locator Preview 17:16

Presentation Slide Preview 4 pages

Descendant Axes View Preview 07:43

Following Axes View Preview 09:53

Ancestor Axes View Preview 09:59

Preceding Axes View Preview 05:17

Presentation Slide Preview 1 page

Ranorex Selocity Preview 03:42

Setting Up Bugzilla Preview 04:11

Setting up Selenium Webdriver Preview 10:43

Also refer to Section 23 :- Firefox Driver with Selenium 3.0

Framework Types Preview 03:47

Presentation Slide Preview 3 pages

Framework Structure Preview 03:01

Reading the Configuration from App.config Preview 22:11

Setting up the BaseClass Preview 12:18

In this video, we will discuss about creating the base class. BaseClass is very important class for over framework, which will take care of launching and closing the browser based on the configuration specified in the App.config file

Presentation Slide Preview 8 pages

Page Navigation Close & Quit Preview 12:45

ChromeOptions,InternetExploreOptions and FirefoxProfile Class Preview 17:43

Presentation Slide Preview 6 pages

Identifying the Web Element Preview 18:00

Handling Web Elements Part - 1 Preview 32:57

In this video, we will discuss how to handle

1. Hyperlink

2. Textbox

3. Checkbox

Also we will develop certain utility method which is not prvided by Webdriver

Handling Web Elements Part - 2 Preview 29:27

In this video, we will discuss how to handle

1. Buttons

2. RadioButtons

3. Enabled and Text property form IWebElement interface

Also we will develop certain utility method which is not prvided by Webdriver

Presentation Slide Preview 9 pages

Handling Dropdown List Preview 19:15

Presentation Slide Preview 3 pages

Taking ScreenShot with Webdriver Preview 12:30

Headless Browser - PhantomJS Preview 11:23

PhantomJsOption & PhantomJsDriverService Class Preview 10:11

Extracting all Web element from Webpage Preview 07:42

Presentation Slide Preview 6 pages

PageloadTimeout and Implicit Wait Preview 25:00

Dynamic Waits - WebDriverWait Class Preview 38:36

Dynamic Waits - Default Wait Class Preview 18:55

Dynamic Waits - ExpectedConditions Class Preview 19:01

Presentation Slide Preview 6 pages

Browser Actions Preview 13:31

Handling Multiple Browser Window Preview 31:48

Handling IFrame Preview 12:05

Presentation Slide Preview 5 pages

Handling JavaScript Alert Preview 18:19

Handling Javascript Confirmation & Prompt Popup Preview 15:38

Presentation Slide Preview 5 pages

Handling Mouse Action Preview 15:22

Handling Auto Suggest List Preview 09:41

Handling KeyBoard Actions Preview 13:30

JavaScriptExecutor Preview 13:24

Presentation Slide Preview 5 pages

POM - Introduction Preview 21:57

POM - PageFactory Preview 11:12

POM - Framework Design Preview 17:38

Presentation Slide Preview 5 pages

Introduction Preview 09:27

TestContext Class Preview 05:33

Reading the Data from CSV file Preview 10:44

Reading the Data from XML file Preview 08:42

Reading the Data from Excel File Preview 04:46

Presentation Slide Preview 6 pages

ExcelDataReader package Preview 12:28

Framework for ExcelDataReader Preview 12:08

Developing the Generic ExcelDataReader Preview 11:00

Running the Script using DDF Preview 05:21

Presentation Slide Preview 10 pages

Keyword Driven Framework Introduction Preview 12:48

Developing Keyword Driven Framework Preview 18:27

Running the Script using KDF Preview 19:01

Presentation Slide Preview 2 pages

Building the File Upload AutoIt Script Preview 12:57

Executing the File Upload Script using Webdriver Api Preview 12:07

How to deploy resources used by Test Script Preview 14:19

Setting up SpecFlow Tool Preview 05:15

Presentation Slide Preview 5 pages

Gherkin Language & Feature file Preview 15:11

Presentation Slide Preview 5 pages

Step Definition Concept Preview 22:28

Assertion & Verification Preview 21:41

Presentation Slide Preview 2 pages

Step Definition - Passing Argument Preview 23:42

Step Definition - Data Table Preview 18:14

Step Definition - Scenario Outline Preview 17:44

Specflow Hook Methods Preview 16:24

Presentation Slide Preview 3 pages

Specflow Dependency Injection Preview 13:27

Scenario Context Preview 15:47

In this video, we will discuss following points

1. About Scenario Context Class

2. How to enhance the framework to take the scree shot on failure of any scenario

3. How to generate exception log for failed test scenario

Report Generation Using MsTest Preview 08:11

Setting Up Log4Net Preview 04:10

Creating the Console Logger Preview 20:41

Different Types of Logger Levels Preview 05:03

Creating File Logger and Rolling File Loggers Preview 15:29

Writing the Framework Helper Class for Log4Net Preview 19:44

Creating the Logger from Configuration file Preview 16:47

Debugging the failed test case using Log file and Screenshot Preview 08:10

TFS - Introduction Preview 06:49

Setting up the TFS Preview 08:48

Creating the Team Project in TFS Preview 11:57

Git - Repository Preview 03:42

Git - Cloning the Repository Preview 05:30

Git - Commit and Push Preview 08:54

Git - Pull Preview 05:39

Git - Synchronization Preview 02:36

Git - History Preview 05:43

Git - Creating the Repository Preview 06:02

Git - Branch Preview 17:25

Introduction to Continuous Integration Preview 02:34

Setting Up the Team City Preview 07:57

TC - Creating the Project Configuration Preview 10:30

TC - Agent Configuration Preview 06:07

TC - Artifacts Generation Preview 12:56

TC - Executing Test Preview 12:25

TC - Deployment Item Preview 12:45

TC - Driver Executables Preview 09:30

TC - Report Generation Preview 10:39

TC - Triggers Preview 12:49

Parallel Execution - Enviromet Setup Preview 08:03

Parallel Execution - Xdt Transformation Preview 10:46

Parallel Execution - Creating Multiple Agents Preview 11:05

Parallel Execution - Executing Test in Multiple Browser Preview 14:12

Basic of WebTable/Grid Preview 05:40

Designing the xPath for Grid Preview 09:09

Handling the Grid Using Selenium Preview 12:47

Designing the framework class for Grid Preview 14:33

Handling the Complex Grid Preview 12:52

Clicking the Button in Grid Preview 04:44

Setting up Firefox Driver (Marionette) Preview 06:01

Setting up Firefox Driver using Driver Service Preview 10:01

Chrome - Headless Mode Preview 02:11

Visual Studio - Ordered Test Execution Preview 02:50

Working with Selenium 3.11 Preview 04:31

In this video, we will discuss about the workaround for the PageFactory and ExpectedConditions class which are deprecated in the latest version of selenium 

Using SeleniumExtras.PageObjects Preview 03:44

All Lecture Source Code for Download Preview 1 page

Code Migration Preview 21:39

This video talk about the code migration from Specflow 2.0 with VS2017 to Specflow 3.0 with VS2019.

Other package which will get updated to following version.

-- MsTest Framework 1.4.0 and MsTest TestAdapter 1.4.0

-- Selenium Webdriver 3.141.0 and Selenium support  3.141.0

-- Selenium.WebDriver.ChromeDriver 75.0.3770.90

-- SpecFlow 3.0.225

-- SpecFlow.MsTest 3.0.225

Test Execution using Specflow 3.0 Preview 07:43

Extent Report Integration with Specflow Preview 19:16

Extent Report - Attaching the ScreenShot Preview 05:10

Launch browser without driver package Preview 07:39