Mô tả

Microsoft Playwright is the latest and one of the most popular end-to-end test automation frameworks in the industry. Playwright is an accessible and beginner-friendly tool that is compatible with all major browsers and can be used with a variety of programming languages including Typescript, Javascript, Python, Java, and .NET. It's also free to use for anyone, whether you're a startup or an enterprise.

In this course, you will learn all about Playwright - from setting up your first test to building a fully functional framework. Along the way, you'll learn about the best practices for automation and how to become a top automation engineer.

Here's a preview of what we'll cover in this course:

  • Introduction to Playwright and its features

  • Setting up your machine for the perfect automation experience

  • Installation and setup

  • Step-by-step guide on how to write tests

  • Working with different types of elements

  • Understanding wait commands

  • Using assertions and their advantages

  • Debugging your tests when they fail

  • Setting up a fully functional framework using the Page Object Model

  • Optimizing your framework for better performance

  • Building beautiful reports for test results

  • Integrating tests with GitHub Actions

  • Implementing APIs within the UI Tests

  • And much more.

All of the topics will be taught with real-life examples, and the course will include exercises and quizzes to challenge and test your knowledge. We will also keep the course updated with the latest developments in Playwright to ensure that you have access to the most current information.

Enroll now and take the first step to becoming a top automation engineer with Playwright.

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

Playwright Basics

Interacting with Web Elements

Setup Page Object Model

Debugging with Playwright

Setup Test Automation Framework

Optimizing Test Framework

Handling Authentication Tests

Building Beautiful Reports

Integration with GitHub Actions

Yêu cầu

  • Basic familiarity with HTML/CSS
  • Basic familiarity with Javascript

Nội dung khoá học

17 sections

Introduction

6 lectures
Course Overview
03:29
What is Playwright?
02:32
Getting the most out of this course
03:14
Before you get started
00:57
Join the Community!
00:25
Source Code Access
00:14

Playwright Setup & Installation

4 lectures
NodeJS Setup
01:50
Playwright Project Setup
08:09
Playwright Extensions
06:26
Playwright Config Walkthrough
08:15

Write Tests

6 lectures
NOTE: URL Update
00:07
Setup First Test
09:04
Fail Test and Review Error
11:07
Exercise: About Page Test
01:19
Solution: About Page Test
03:38
Quiz 1
3 questions

Page Locators & Selectors

8 lectures
CSS Selector
12:50
Text Selector
09:49
Text and CSS Selector
09:03
Xpath Selector Update
00:10
XPath Selector
05:24
Working with Multiple Elements
15:42
Exercise: Contact & Blog Page
03:22
Solution: Contact & Blog Page
16:42

Assertions

2 lectures
Assertions in Detail
07:32
Soft Assertions
08:26

Upload File

2 lectures
Upload Test
10:02
Upload on a Hidden Input
07:02

Wait Commands

5 lectures
Wait For Timeout
06:24
Wait For State
07:28
Assertion Timeout
05:49
Quiz 2
3 questions
Leave a review
00:12

Debugging

4 lectures
Debug Console
12:24
Playwright Trace Viewer
08:40
Playwright Inspector
09:41
Recording Script
08:17

Page Object Model

10 lectures
What is Page Object Model?
02:18
Page Template
05:53
HomePage Locators
07:20
Enabling Auto Suggestion for Page Objects
05:07
Home Page Methods
08:12
Component Model
05:21
Upload Component Setup
09:06
Exercise: Contact and Blog Pages
01:18
Solution: Contact and Blog Pages
09:20
Quiz 3
3 questions

Framework Optimization

5 lectures
Eslint Setup
09:15
Reuse Base URL
04:20
Before Hook - Page Initialization
05:23
Randomize Data
07:57
Parameterize Tests
07:18

Authentication

8 lectures
Authentication Challenges
06:14
Before Each Hook
05:39
Before All Hook
10:11
Signed In Role - Overview
04:04
Signed In Role - Implementation
07:13
Signed In Role - Execute Tests
05:54
Multiple Signed In Roles - Overview
04:25
Multiple Signed In Roles - Implementation
05:36

Parallel & Cross Browser Testing

3 lectures
Parallel Testing Overview
03:50
Parallel Testing Demo
07:11
Cross Browser Testing
06:55

Reporting

3 lectures
Built-in Reporters
05:27
Allure Reporter Setup
08:11
Attach Trace to Allure Reporter
04:59

GitHub Actions Integration

4 lectures
GitHub Actions Setup Overview
02:34
Setup workflow file & Trigger workflow
07:48
Integrate Reporting in the workflow
07:05
Fix Broken Test & Rerun Workflow
04:23

API Integration

9 lectures
Types of API Testing in Playwright
04:21
GET Request Overview
05:03
GET Request Setup
07:29
GET Request Spec Implementation
05:24
POST Request Spec Implementation
08:04
Controller Overview
02:50
Controller Setup
05:14
Setup - createUserTodo
02:47
Controller Spec Implementation
06:19

Demo Project

8 lectures
Project Introduction
01:55
Project Setup & First Test
13:30
Working with Assertions & Locators
12:58
Handling Multiple Elements
17:45
Working with Tables & Rows
12:06
Handling New Tab & Page
13:15
Implementing Page Object Model
15:16
Interactive UI Mode
08:33

Wrap up

3 lectures
Thank You!
02:08
Your feedback matters!
00:10
Mobile Automation with WebdriverIO and Appium
00: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.