Mô tả

Automation framework development with Playwright in C#.NET  is an advanced course designed to address End-to-End test framework development with clean coding and SOLID patterns in place.

The curriculum of this course is designed not just by randomly choosing some of the topics that I know, the course has evolved over a period (15+ years) by giving training to more than 270,000+ professionals (both online and corporate training) and working in automation testing field 15+ years now

Hence the course is much-refined version, meaning the course won't deviate from the topics it is meant to be.

The course includes all the source codes which we will discuss in the course, hence one must have all the source codes required at the end of every section.

Finally, the course is for those, who are serious about automation testing framework development from the complete ground up and understand all the nuts and bots of building them for extensible usage at work


In this course, you will learn to automate ASP NET Web API and WebUI projects using tools such as

  • Playwright (latest version)

  • .NET 7

  • C# 11

  • XUnit

  • AutoFixture

  • Fluent Assertion

  • Specflow

We will also be using the following patterns in this course

  • Dependency Injection

  • Factory Pattern

  • Page Object Model Pattern

  • Lazy Initialization

At the end of this course, you will have

  • Complete understanding of C# with .NET 7

  • Complete understanding of Playwright with latest and greatest changes

  • Designing a complete framework from the ground up

  • All the idea to design a more extendable framework


Bạn sẽ học được gì

Basics of Playwright to more advanced way to write custom frameworks in Playwright

Modern testing techniques and coding standards in .NET

Efficient DI based framework creation

Working with XUnit, AutoFixture, DI and Specflow will make testing with Playwright more awesome

Yêu cầu

  • Basics of .NET
  • Basics of Selenium or any related tool is a plus

Nội dung khoá học

19 sections

Introduction

1 lectures
Introduction
04:33

Application Under Test

2 lectures
Running Application Under Test
06:40
Source
00:01

Building Core Framework Components

13 lectures
Creating Framework Structure
06:40
Creating Playwright Driver
06:01
Invoking Playwright Driver from Test Project
03:44
Safe way to Dispose Playwright Driver Object
03:58
Source code
00:01
Understanding the Problem with classical code and improving it
04:47
Extending Playwright Driver with Playwright Driver Initialiser
04:49
Creating Abstract Interface for Playwright Driver Initialiser
07:11
Creating Playwright Driver with Different browser initialiser
05:49
Running them all together
05:57
Extending Playwright Driver with Lazy initialisation
07:54
Summary
02:15
Source
00:00

Building Configuration Component for Framework

4 lectures
Introduction
01:37
Creating Config Reader
05:15
Executing Code with Configuration
03:03
Source
00:00

Writing Test Code with better code patterns

6 lectures
Creating Test along with Record and Playback
11:31
Creating Page Object Model
06:00
Creating Page Object Model (Contd)
07:00
Running Page Object Model based code in Test
06:19
Assertion with Expect Library of Playwright
07:08
Source
00:00

Data Driven Testing

4 lectures
Data Driven Testing with Inline Data
05:13
Data Driven Testing with Concrete Data Type
06:42
Automatic Test Data Creation for Test cases
04:20
Source
00:00

Dependency Injection of code (Framework and Test)

6 lectures
Introduction to DI
06:42
XUnit Dependency Injection
08:32
Dependency Injection of Playwright Driver
05:32
Dependency Injection of Page Object Model Code
05:56
Understanding Separation of concern and implementing them
05:33
Source
00:00

Building Specflow Tests

7 lectures
Introduction and Installation
02:25
Bringing Pages and Models from existing code
03:47
Implementing Step Definitions
07:17
Implementing Step definitions and running tests
06:31
Specflow Living Documentation
03:37
Summary
01:21
Source
00:00

Misc Awesome Features of Playwright

3 lectures
Running Tests with Command line
04:38
Interactive Debugging of code
03:20
Running Tests in Parallel and Sequence
03:08

Running Playwright Test in Selenium Docker Grid

5 lectures
Running Playwright Test in Selenium Grid - Public Domain Tests
09:39
Understanding how to run Local Application in Docker Grid containers
07:00
Running Test against application in Docker Selenium Grid containers
05:34
Docker Supported AUT
00:03
Source of Test code
00:00

CI/CD of Playwright Tests with GitHub Actions

9 lectures
Introduction to CI/CD with Github Actions
07:04
Setting up Github Action Workflow
06:14
Executing Github Action workflow with all dependencies required for Playwright
06:43
Executing Playwright Test as part of Pipeline - [Public Domain app]
05:47
Understanding Local Application running via Docker Compose as containers
04:55
Merging AUT with Test Project to run test against the AUT in Pipeline
02:25
Running Application and Test within Github Actions Pipeline all together
05:01
Summary
02:15
Source code
00:04

REST API Testing with Playwright

9 lectures
Introduction
01:25
Extending Playwright Driver with APIRequestContext
04:26
GET operation with Playwright for Products
06:51
DELETE operation with Playwright
04:05
Understanding how to implement DELETE operation in Specflow BDD Scenario
04:07
Modifying AUT with DELETE by Name endpoint support to be used in Specflow
04:09
Running Specflow test with DELETE operation
03:34
Summary
01:07
Source
00:01

Efficient way for Mock Testing with Playwright using HAR files

5 lectures
Introduction and getting started with HAR file generation and replay
16:02
Adding URL filters for HAR file while mocking specific API
05:48
HAR file related code sample for reference
00:30
Adding HAR file support in framework
08:04
Source code
00:00

[Crash Course] - Playwright with C# .NET Basics

12 lectures
Introduction and getting started with Playwright
14:10
Playwright NUnit Framework support
11:56
Understanding and working with locators
09:23
Working with Playwright CLI
10:02
Auto-Waiting Mechanism
11:14
Page Object Model in Playwright
11:45
Listening Network events and testing the event details
18:59
Testing Adobe or Google Analytics with Playwright
12:59
Intercepting Networks
12:36
Playwright with NUnit in C# .NET
12:04
Playwright Configuration using runsettings file for Playwright.NUnit
09:07
Data-Driven Testing in Playwright.NUnit
12:10

[Crash Course] - Playwright with Specflow

5 lectures
Introduction
06:02
Creating Reusable Playwright Driver object
07:59
Implementing Specflow Step Definitions for Scenario
08:15
Running Specflow Scenarios
02:01
Parallel Execution of Specflow Test run
03:25

[Crash Course] - API Testing with Playwright

5 lectures
Introduction and getting started
12:31
POST operation with Bearer Token Auth
09:33
Deserialising Response object
10:09
GET Operation with Auth token Header
11:13
Deserialize response to Concrete Object Type
10:33

[Crash Course] - XUnit with Selenium, AutoFixture and Fluent Assertions

11 lectures
Introduction to XUnit
09:56
XUnit Context Injection and creating Fixture class to create and dispose object
09:56
Data Driven Testing with XUnit using [InlineData]
07:57
DDT with [MemberData] and customizing it for [Theory]
08:43
Running XUnit Tests in Parallel and in Sequence
09:05
Testing application for Failures and how to make it happen?
04:43
Introduction to Fluent Assertions
04:53
Introduction to [AutoFixture] for automation data setup for each tests
10:48
Customized Test Data creation using Builder Pattern of AutoFixture
07:12
Populate Test Data with [AutoData] of AutoFixture in XUnit and Selenium tests
05:33
Extending TestDataAttribute for Custom data in XUnit with Selenium tests
06:34

[Crash Course] - New ways to Identify Elements in Playwright using ARIA

3 lectures
ARIA and how Playwright is making use of it to Identify UI locators
13:43
New Locator Strategy in Playwright with ARIA
14:59
Locating Complex UI elements using ARIA
18:44

[Crash Course] - Specflow with .NET

8 lectures
Introduction
08:59
Installation and getting started
14:53
Working with Specflow tables for Data Driven Testing
13:27
Specflow Hooks
10:22
Working with Dynamic Test Data with AutoFixture
11:23
Step Argument of Specflow to transform an specific step
11:38
Specflow with C# 10 features
05:33
Context Injection of Specflow
08:59

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.