Delving deeper into test automation, this course teaches learners advanced patterns and practices for structuring and optimizing Playwright tests in a TypeScript environment. Emphasis is placed on reusable components, particularly the Page Object Model (POM), efficient navigation, assertion strategies, and handling asynchronous operations.
Overview
Syllabus
- Unit 1: Introduction to the Page Object Model with Playwright
- Observe Page Object Model in Action
- Navigating with Playwright POM
- Fix Navigation in Page Object Model
- Enhancing LoginPage Validation Skills
- Create a Reusable Search Component
- Unit 2: Data-Driven Testing with Playwright
- Executing Data-Driven Testing in Action
- Enhance Cart Test with Playwright
- Fix the Search Test Bug
- Enhance Test with Search Results
- Advanced Role-Based Testing
- Unit 3: Structuring Tests for Enhanced Readability and Maintenance
- Running Structured Playwright Tests
- Enhancing Test Suite with Category Search
- Identify and Correct Test Script Bugs
- Add Book Details Verification Test
- Craft Your Own Test Suite
- Unit 4: Creating Reusable Page Components
- Running Reusable Components in Playwright
- Streamline Navigation with BasePage
- Fix Navigation and File Upload Bugs
- Enhance Your Test Suite Structure
- Build Reusable Playwright Components