Playwright Course Details

Playwright Short Demo



Introduction to Playwright:
1. Overview of end-to-end testing
2. What is Playwright and why use it?
3. Supported languages & browsers

Environment Setup:
1. Installing VS Code, Node.js and Playwright
2. Setting up a basic project
3. Installing browsers

Writing Your First Test:
1. Understanding test structure
2. Running a basic test with Playwright Test
3. Debugging with –debug mode and trace viewer

Core Concepts:
1. Selectors: CSS, XPath, text, etc.
2. Auto-waiting and retry-ability
3. Locators vs Page.$/Page.$$ APIs
4. Handling alerts, iframes, and pop-ups

Page Object Model (POM):
1. What is POM?
2. Implementing POM in Playwright

Advanced Interactions:
1. File upload/download
2. Keyboard and mouse events
3. Handling iframes, tabs, and multiple pages

Assertions and Test Hooks:
1. Using built-in Playwright assertions
2. Before/After hooks

Parallel Execution & Cross-Browser Testing:
1. Running tests in parallel
2. Running tests on Chromium, Firefox, and WebKit

Debugging and Reporting:
1. Using Playwright Inspector
2. Trace Viewer and video recording
3. Generating HTML reports

CI/CD Integration:
1. Running Playwright tests in CI (GitHub Actions, GitLab, Jenkins)
2. Managing flaky tests and retries

API Testing with Playwright:
1. Sending HTTP requests
2. Validating API responses
3. Combining API and UI tests

Test Data Management:
1. Dynamic data generation

AI-Powered Testing with Playwright MCP:
1. Introduction to AI testing and MCP integration
2. Using AI for smart locators (self-healing selectors)
3. AI-driven test case generation
4. Integrating Microsoft’s AI-based Test Generation tools
5. Leveraging AI for flaky test detection and prioritization
6. Automatically fix failing tests by AI

Test Automation Framework Development:
1. Building a robust Playwright test framework
2. Page Object Model (POM) with Playwright
3. Reporting: Allure, HTML Reports, Test Reporters

Practice Playwright with Live Project (Demo Financial Online System):
Automate following scenarios in Demo Financial Online System with Playwright:
1. Login to the Demo Financial Online System with valid User Name and Password
2. Create new Customer
3. Create new Account (Example: Checking or Savings Account)
4. Deposit money
5. Withdraw money
6. Balance Inquiry
7. Invest in business

Additional (Extra):
1. Interview Questions
2. Playwright Interview Questions and Answers