Course Overview
Playwright - test automation framework developed by Microsoft. Modern, highly customizable and reliable.
This class covers all fundamental concepts of the framework. We begin from scratch, starting with setup and configuration and then a hands-on framework overview to familiarize yourself with the environment. Then from lesson to lesson, we slowly increase complexity. All lessons have a logical progression and are connected. The next lesson in the section builds up a new concept on top of what was learned in the previous lesson. This is also related to the code demonstrated in the class. We will have two test applications, and slowly over the course will add more and more code uncovering new topics.
How to follow the class
Watch all lessons in the order they have been published. Write the code from the class along with me. If needed, pause the video to complete the code. Practicing - is the best way to learn. Also, I would recommend watching the lessons in full-screen mode because sometimes the text on the screen can be small and hard to read. If you skip lessons or watch them not in order, be ready that you may have a feeling of a knowledge gap, or that something is not clear.
What you will learn:
How to install Playwright from scratch as a new independent project or add to an existing front-end application project.
JavaScript Fundamentals in case you are a beginner to programming.
How to run tests using the command line interface, UI mode, Playwright extension, and debug tests
How to organize tests, structure tests, use test hooks
HTML terminology, locator syntax rules, and Playwright best practices to locate web elements.
Different types of assertions, how auto-waiting concept works, and how to configure different timeouts.
How to work with different UI components, such as input fields, radio buttons, checkboxes, lists, tooltips, dialog boxes, date pickers, web tables, iFrames, sliders, drag and drop.
What is the Page Object Model. How to organize test framework code with Page Objects. Recommended architecture for Page Object model with Playwright
How to work with APIs: API mocking, API requests, intercept API calls, shared storage state, API authentication
Multiple advanced topics: fixtures, global setup and teardown, parallel execution, test tags, test retries, visual testing, mobile device emulation, reporters, environment variables, and test execution in Docker container.
By the end of the class, you'll be familiar with all important Playwright concepts to be able to automate pretty much any web application.
FAQ
FAQ area empty
Course curriculum
Chương 1 Preparation 2 bài · 8 phút
Chương 2 JavaScript Fundamentals 13 bài · 1 giờ 38 phút
- Module Overview Học thử 2:29
-
Hello World 4:42
-
Variables, Constants and Data Types 11:17
- Concatenation and Interpolation Học thử 6:17
- Objects and Arrays Học thử 9:02
- Relational and Equality Operators Học thử 8:02
-
Logical Operators 9:40
- Conditional Statements Học thử 8:21
-
Loops 9:29
-
Functions 15:19
-
Class and Methods 6:57
-
TypeScript vs JavaScript 6:18
-
JavaScript practice exercise
Chương 3 Playwright Hands-On Overview 7 bài · 48 phút
-
Playwright Installation 7:46
-
Test Execution with CLI 9:14
-
Test Execution with UI 9:09
-
Trace View and Debug 5:57
-
Tests Structure 9:47
-
Hooks and Flow Control 6:04
-
Knowledge check
Chương 4 Interaction with Web Elements 12 bài · 2 giờ 13 phút
-
DOM Terminology 12:30
-
Locator Syntax Rules 12:38
-
User-Facing Locators 16:22
-
Child Elements 7:37
-
Parent Elements 12:05
-
Reusing Locators 5:27
-
Extracting Values 11:24
-
Assertions 10:11
-
Auto-Waiting 21:38
-
Timeouts 14:13
-
Code Generation 8:52
-
Knowledge check
Chương 5 UI Components 13 bài · 2 giờ 10 phút
-
Input Fields 6:18
-
Radio Buttons 9:20
-
Checkboxes 7:34
-
Lists and Dropdowns 14:18
-
Tooltips 4:26
-
Dialog Boxes 7:08
-
Web Tables (Part 1) 20:22
-
Web Tables (Part 2) 12:58
-
Date Picker (Part 1) 7:24
-
Date Picker (Part 2) 15:35
-
Sliders 15:37
-
IFrames 4:42
-
Drag & Drop 4:17
Chương 6 Page Object Model 9 bài · 1 giờ 33 phút
-
What Is Page Objects 9:01
-
First Page Object 11:29
-
Navigation Page Object 10:34
-
Locators in Page Objects 9:16
-
Parametrized Methods 14:01
-
Date Picker Page Object 12:27
-
Test Steps Decorator 9:46
-
Page Objects Manager 6:20
-
Page Objects Helper Base 9:45
Chương 7 Working with APIs 8 bài · 1 giờ 45 phút
-
What is API 16:07
-
Setup New Project 8:14
-
Mocking API 13:12
-
Modify API Response 11:11
-
Perform API Request 25:53
-
Intercept Browser API Response 10:03
-
Sharing Authentication State 11:23
-
API Authentication 8:54
Chương 8 Advanced 14 bài · 1 giờ 48 phút
-
NPM Scripts and CLI Commands 4:40
-
Test Data Generator 5:45
-
Test Retries 7:36
-
Parallel Execution 5:36
-
Screenshots and Videos 7:38
-
Environment Variables 15:57
-
Configuration File 9:32
-
Fixtures 14:23
-
Project Setup and Teardown 8:40
-
Global Setup and Teardown 5:52
-
Test Tags 3:59
-
Mobile Device Emulator 6:35
-
Reporting 5:17
-
Visual Testing 6:15
Chương 9 Bonus Section 1 bài
-
Bonus Lesson
Requirment
-
Basic JavaScript knowledge is required. JavaScript Fundamentals section is included in the class.
-
Ask me a question in Q&A section of the class or send me a message if something is not clear or does not work.
Outcomes
-
JavaScript fundamentals for beginners needed to automate in the Playwright
-
How to install Playwright from scratch run and debug tests, analyze reports and test results
-
How to locate any web element on the page following Playwright best practices
-
How to interact with different UI components such as: input fields, radio buttons, check boxes, lists, tooltips, date pickers, web tables, sliders, iFrames
-
What is Page Object Model and how to organize test code using Page Objects
-
How to work with APIs in Playwright: API mocking, API requests, API call intercept, shared authentication and API authentication
-
Advanced topics: global setup and teardown, visual testing, mobile device emulation, fixtures, environment variables, test execution in Docker container
0 Student
1 Course
0 review