Playwright Beginner Tutorial - Assertions
Offered By: Automation Step by Step via YouTube
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
Automated Web Testing in Java with PlaywrightPluralsight Playwright Automation Testing from Scratch with Framework
Udemy Performing Arts Lesson Plans
Study.com Enhanced Visual Studio Code Java Tooling and Container Apps
Visual Studio Code via YouTube Testing Modern Web Apps with Playwright and VS Code
Visual Studio Code via YouTube