Automation Framework With Playwright And Java

Posted By: ELK1nG

Automation Framework With Playwright And Java
Published 10/2022
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.16 GB | Duration: 4h 18m

Learn how to use Playwright with Java and build an automation framework

What you'll learn
Introduction to Playwright and why you should switch to it
Learn the basic concepts about Playwright
Build a modern automation framework using Java, JUnit 5, Maven and Playwright
Learn about debugging, how to use traces and video recording in Playwright
Tips and tricks for common issues when automating modern UI’s and how to solve it with Playwright
Run your tests in parallel with ease
Integrate your tests with CI/CD
Requirements
Basic Java knowledge is required
Previous Maven knowledge is nice to have but not required
Previous JUnit 5 knowledge is nice to have but not required
Description
This course focuses on building a modern automation framework that uses Playwright and Java to tackle any kind of modern web application. If you’re tired of having unreliable Selenium tests and hate to write waits for any page interaction, then Playwright is here to save the day. We will be using Java since this is the most common language used by automation testers and I will teach you how to move your existing Selenium code base to Playwright with ease. You will also be able to use the framework design tougth here in order to automate your own tests.What will you learn in this courseIntroduction to Playwright and why you should switch to itWhat is Playwright and why should you use itWhat will you learn in this courseProject SetupSetup your environment - MacOSSetup base projectLearn the basic concepts about PlaywrightWrite your first test with PlaywrightBrowsers, browser context, pagesAuto-waitingSelectorsLocatorsActionsAssertionsBuild a modern automation framework using Java, JUnit 5, Maven and PlaywrightSetup Playwright RunnerImplement Page Object ModelNavigationRewrite the Playwright Runner to handle POMProperties file readerCreate a test using the new frameworkTimeoutsLearn about debugging, how to use traces and video recording in PlaywrightPlaywright inspectorDebugging SelectorsTrace ViewerVideo RecordingImplement Test Watcher to delete traces and videos when tests are successfulRun your tests in parallel How to run your tests in parallelRun your tests in parallel against Selenium GridIntegrate your tests with CI/CDIntegrate your tests with Azure CI/CDIntegrate your tests with Jenkins CI/CD

Overview

Section 1: Introduction to Playwright and why you should switch to it

Lecture 1 What is Playwright and why should you use it

Lecture 2 What will you learn in this course

Section 2: Project Setup

Lecture 3 Setup your environment - MacOS

Lecture 4 Setup base project

Section 3: Learn the basic concepts about Playwright

Lecture 5 First Test

Lecture 6 Browsers, browser context, pages

Lecture 7 Auto-waiting

Lecture 8 Selectors

Lecture 9 Locators

Lecture 10 Actions

Lecture 11 Assertions

Section 4: Build a modern automation framework using Java, JUnit 5, Maven and Playwright

Lecture 12 Setup Playwright Runner

Lecture 13 Implement Page Object Model

Lecture 14 Navigation

Lecture 15 Rewrite the Playwright Runner to handle POM

Lecture 16 Properties file reader

Lecture 17 Create a test using the new framework

Lecture 18 Timeouts

Section 5: Learn about debugging, how to use traces and video recording in Playwright

Lecture 19 Playwright inspector

Lecture 20 Debugging Selectors

Lecture 21 Trace Viewer

Lecture 22 Video Recording

Lecture 23 Implement Test Watcher to delete traces and videos when tests are successful

Section 6: Run your tests in parallel with ease

Lecture 24 Run tests in parallel

Lecture 25 Run your tests in parallel against Selenium Grid

Section 7: Integrate your tests with CI/CD

Lecture 26 Integrate your tests with Azure CI/CD

Lecture 27 Integrate your tests with Jenkins CI/CD

QA Automation Testers,QA Managers,QA Architects,Developers