YoVDO

Playwright Beginner Tutorial - Assertions

Offered By: Automation Step by Step via YouTube

Tags

Playwright Courses Automation Testing Courses

Course Description

Overview

Learn how to implement assertions in Playwright for effective test automation. Explore various assertion techniques including checking element presence, visibility, enabled/disabled status, text matching, attribute verification, and visual validation. Discover how to use soft assertions, validate page URLs and titles, and perform screenshot comparisons. Practice these concepts using a demo application and gain hands-on experience with Playwright's assertion capabilities for robust automated testing.

Syllabus

*Intro*
*What are Assertions*
*Assertions in Playwright*
*How to add Assertions*
*Create a new Test*
*Demo App* https://kitchen.applitools.com/
*Command to Run the test*
*Check element Present/Not present*
*Check element Visible/Hidden*
*Check element Enabled/Disabled*
*How to add Soft Assertions*
*Check element Text matches value or not*
*Assert Element attribute *
*Screenshot Moment*
*Check Url of the page*
*Check Title of the page*
*Check Page matches screenshot* Visual Validation
*Screenshot Moment | Outro*


Taught by

Automation Step by Step

Related Courses

Continuous Delivery & DevOps
University of Virginia via Coursera
Create Your First Automation Script Using Selenium and Java
Coursera Project Network via Coursera
Data-Driven Testing (via Excel sheet) with Selenium & TestNG
Coursera Project Network via Coursera
The Complete Core Java Course : Learn to Code
Udemy
Selenium WebDriver & Java - Automation with Selenium [2020]
Udemy