playwright

 Playwright Automation Training Program (TypeScript)

Total Duration: 40 Hours
Delivery Mode: Instructor-led with hands-on labs
Primary Focus: Playwright Automation (Detailed) + Supporting Foundations + Introductory API Testing


Module 1 — Software Testing & Automation Foundations

Duration: 3 Hours

Coverage

  • Role of Automation in QA

  • SDLC vs. STLC (quick review)

  • Test automation lifecycle

  • Types of automation testing

  • When to automate vs. not automate

  • Overview of modern automation tools

Outcome
Participants understand where Playwright fits in the QA ecosystem.


Module 2 — TypeScript Essentials for Automation

Duration: 7 Hours

Coverage

  • Node.js and environment setup

  • TypeScript fundamentals

  • Variables and data types

  • Functions and arrow functions

  • Interfaces and custom types

  • Arrays and objects

  • Modules and imports

  • Async/await and promises

  • Error handling

Practical Work

  • TypeScript coding exercises

  • Async programming practice

Outcome
Participants gain strong TypeScript skills required for Playwright.


Module 3 — Playwright Fundamentals

Duration: 8 Hours

Coverage

  • Playwright architecture

  • Installation and project initialization

  • Playwright Test Runner

  • Browser contexts and pages

  • Headed vs. headless execution

  • Navigation commands

  • Basic user interactions

  • Auto-waiting mechanism

Lab

  • First Playwright test

  • Basic navigation automation

Outcome
Participants can create and run basic Playwright tests.


Module 4 — Locators and Element Handling

Duration: 7 Hours

Coverage

  • Locator strategy hierarchy

    • getByRole

    • getByText

    • getByLabel

    • CSS selectors

    • XPath

  • page.locator() deep dive

  • Chaining and filtering locators

  • Handling dynamic elements

  • Working with lists and collections

  • Retrieving text and attributes

  • Best practices for stable locators

Lab

  • Advanced locator exercises

  • Dynamic element handling

Outcome
Participants can reliably locate and interact with UI elements.


Module 5 — Advanced Playwright Features

Duration: 7 Hours

Coverage

  • Assertions library

  • Wait strategies and timeouts

  • Handling:

    • Alerts and dialogs

    • Dropdowns

    • Frames and iframes

    • Multiple tabs/windows

  • Keyboard and mouse actions

  • File upload and download

  • Screenshots and videos

  • Network interception (intro)

  • Debugging techniques

Lab

  • Complex end-to-end scenario

  • Multi-tab handling exercise

Outcome
Participants can build robust, production-ready scripts.


Module 6 — Playwright Test Framework

Duration: 4 Hours

Coverage

  • Test structure and conventions

  • Annotations and hooks

  • Fixtures and test data

  • Parallel execution

  • Tagging and filtering

  • HTML reporting

  • Retry and timeout configuration

Lab

  • Structured Playwright test suite

Outcome
Participants can design scalable Playwright test suites.


Module 7 — BDD with Cucumber (Playwright Integration)

Duration: 2 Hours

Coverage

  • BDD overview

  • Gherkin syntax

  • Feature files and step definitions

  • Hooks integration

  • Running Cucumber with Playwright

Lab

  • Implement one BDD scenario

Outcome
Participants understand BDD workflow with Playwright.


Module 8 — Introduction to API Testing

Duration: 1 Hour

Coverage

  • API testing basics

  • HTTP methods and status codes

  • JSON validation

  • Basic API testing using Playwright

Outcome
Participants gain introductory API testing awareness.


Module 9 — Framework Design & Best Practices

Duration: 1 Hour

Coverage

  • Page Object Model (POM)

  • Folder structure standards

  • Reusable utilities

  • Environment configuration

  • CI/CD overview

Outcome
Participants understand framework-level design.


Capstone Exercise

Duration: 0 Hours (Embedded Practice Throughout)**

Practical exercises are integrated within modules to maximize hands-on learning.


Duration Summary

ModuleHours
Automation Foundations3
TypeScript Essentials7
Playwright Fundamentals8
Locators & Element Handling7
Advanced Playwright7
Playwright Test Framework4
BDD Cucumber2
API Testing (Intro)1
Framework Overview1
Total40 Hours

If needed, I can produce a day-wise schedule or corporate-ready brochure version.

Comments

Popular posts from this blog

K6 performance test

k6 and jmeter intro

3 month