0% found this document useful (0 votes)
3 views18 pages

Master Automation Using Playwright (Course Content)

The document outlines a comprehensive training program on Master Automation using Playwright and Selenium, covering JavaScript, TypeScript, and various automation frameworks. It includes modules on core concepts, test organization, advanced features, interview preparation, and real-time project implementation. The program also emphasizes integration with tools like Git, Jenkins, and Cucumber for a complete automation solution.

Uploaded by

kunalmehta.km
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views18 pages

Master Automation Using Playwright (Course Content)

The document outlines a comprehensive training program on Master Automation using Playwright and Selenium, covering JavaScript, TypeScript, and various automation frameworks. It includes modules on core concepts, test organization, advanced features, interview preparation, and real-time project implementation. The program also emphasizes integration with tools like Git, Jenkins, and Cucumber for a complete automation solution.

Uploaded by

kunalmehta.km
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Master Automation Using

Playwright & Selenium


Including Interview
Preparation

Part 1: JavaScript & Typescript for Playwright


Automation(30hours)

Module 1: Introduction to JavaScript


✓ What is JavaScript?
✓ Role of JavaScript in automation
✓ Setting up [Link] environment

Module 2: JavaScript Basics


✓ Variables (var, let, const)
✓ Data types (string, number, boolean, null, undefined,
object)
✓ Operators (arithmetic, comparison, logical,
assignment, ternary)
✓ Type coercion and conversion
Module 3: Control Flow
✓ Conditional statements (if, else if, switch)
✓ Looping (for, while, do…while, for…of, for…in)
✓ Break and continue

Module 4: Functions
✓ Function declaration vs expression
✓ Arrow functions
✓ Parameters and return values
✓ Default and rest parameters
✓ Higher-order functions & callbacks

Module 5: Arrays & Objects


✓ Creating and manipulating arrays
✓ Array methods (map, filter, reduce, for Each)
✓ Objects – keys, values, entries
✓ Iterating objects
Module 6: Strings
✓ Common string methods (slice, substring, split,
replace, includes, trim)
✓ Template literals

Module 7: ES6+ Features


✓ Template strings
✓ Spread and rest operators
✓ Modules (import/export)
✓ Classes and inheritance

Module 8: Asynchronous JavaScript


✓ Callbacks
✓ Promises (then, catch, finally)
✓ Async/Await
✓ Error handling in async code
Module 10: TypeScript for Automation Engineers
✓ What is TypeScript and why use it in automation?
✓ Setting up TypeScript project with Playwright
✓ Types vs Interfaces
✓ Type Annotations and Inference
✓ Enums and Union Types
✓ Classes and Objects in TypeScript
✓ Access Modifiers – public, private, protected
✓ Constructor functions
✓ Inheritance
✓ Optional Chaining (?.)
✓ Promises and async/await pattern
Part 2: Playwright End to End Test
Automation (50 hours)

Module 1: Introduction to Playwright


✓ What is Playwright?
✓ Why Playwright over Selenium / Cypress
✓ Features of Playwright
✓ Supported browsers & platforms
✓ Setting up Playwright with [Link]

Module 2: Environment Setup


✓ Installing [Link] & VS Code
✓ Installing Playwright (npm init playwright)
✓ Project structure in Playwright
✓ Running first Playwright test
✓ Understanding Playwright Test Runner
Module 3: Core Playwright Concepts
✓ Browser, Context, and Page model
✓ Launching browsers (Chromium, Firefox, WebKit)
✓ Running in headless vs headed mode
✓ Debugging with Codegen and Inspector

Module 4: Locators in Playwright


✓ Understanding locators
✓ Locator strategies (id, class, CSS, text, role, nth, etc.)
✓ Working with [Link]()
✓ Handling multiple elements
✓ Adding custom XPath support
Module 5: Web Element Handling
✓ Textbox, Button, Checkbox, Radio button
✓ Links & multiple links
✓ Dropdowns (static and dynamic)
✓ File upload & download
✓ Handling alerts, popups & dialogs
✓ Handling frames & iframes
✓ Shadow DOM handling
✓ Mouse & Keyboard Events

Module 6: Assertions
✓ Using Playwright built-in assertions
✓ Soft vs Hard assertions
✓ Auto-waiting mechanism
✓ Expect library usage (toBeVisible, toHaveText, etc.)
Module 7: Test Organization
✓ Writing test suites with [Link]
✓ Hooks: beforeAll, afterAll, beforeEach, afterEach
✓ Grouping and tagging tests
✓ Skipping and retrying tests

Module 8: Advanced Playwright Features


✓ Parallel test execution
✓ Device emulation (mobile, tablet)
✓ Geolocation, Permissions, Network mocking
✓ Handling multiple browser contexts

Module 9: Data-Driven Testing


✓ Parameterized tests
✓ Using external test data (JSON, CSV, Excel)
✓ Fixtures for test data management
Module 10: Reporting
✓ Default HTML reports
✓ Using Allure reports
✓ Generating CLI reports
✓ CI/CD integration basics

Module 11: Automation Framework (End-to-End


Project)
✓ What is an Automation Framework
✓ Features and benefits of frameworks
✓ Page Object Model (POM) with Playwright
✓ Data-driven testing approaches
✓ Hybrid framework design
✓ Creating reusable components
✓ Best practices for framework development
Module 12: Real-time Project
✓ Automating a sample web application (E-
commerce / Banking demo site)
✓ Building a Playwright framework for an e-
commerce application
✓ Setting up the project structure
✓ Creating page objects and fixtures
✓ Designing test data providers
✓ Implementing configuration management
✓ Writing test scripts with proper assertions
✓ Error handling and logging
✓ Test reporting with built-in HTML reporter
✓ Custom reporting with Allure and other tools
✓ Handling global setup and teardown
✓ Cross-browser testing implementation

Module 13: Playwright with Git & CI/CD


✓ Version control with Git
✓ Running Playwright in GitHub Actions
✓ Running Playwright in Jenkins pipelines
Module 14: Advanced Playwright Features
(AI+API)
✓ Postman for manual testing
✓ API testing with Playwright :
GET/POST/PUT/DELETE
✓ Mock API responses
✓ Playwright With AI
✓ Playwright MCP / LLM AI Models

Module 15: Interview Preparation


✓ Common Playwright interview questions
✓ Comparing Playwright with Selenium & Cypress
✓ Best practices for Playwright automation
✓ Troubleshooting common errors
Module 15: Interview Preparation
✓ Common Playwright interview questions
✓ Comparing Playwright with Selenium & Cypress
✓ Best practices for Playwright automation
✓ Troubleshooting common errors
Part 3: Interview Preparation for Java +Data
Structure +Selenium WebDriver +TestNG
+Cucumber+ Git+ Jenkins(40hours)

Module 1: Core Java (Automation Focus):


(10hours)
✓ Java Basics (Data types, Variables, Operators)
✓ Control Statements (if-else, loops)
✓ OOP Concepts:
✓ Class & Object
✓ Inheritance
✓ Polymorphism
✓ Encapsulation
✓ Abstraction
✓ Constructors
✓ Method Overloading & Overriding
✓ Static vs Non-static
✓ Exception Handling (try-catch, throws)
✓ Collections Framework:
✓ List, Set, Map
Module 2: Data Structures (Interview Focus):
(5hours)
✓ String programs
✓ Array problems
✓ Pattern-based coding questions
✓ Recursive Programming
✓ Time Complexity
✓ Sorting Algorithm (Bubble Sort + Merge
Sort)
✓ Search Algorithm (Linear search + Binary
Search)
✓ Binary Trees
Module 3: Core Selenium WebDriver(8 hours)
✓ Selenium Architecture & WebDriver setup
✓ Browser commands & navigation
✓ Locators: ID, Name, ClassName
,tagName,linkText,partialLinkText XPath (Axes,
contains, starts-with) CSS Selectors Advanced
Web Element Handling:
✓ WebElement commands
✓ Dropdown (Select class +
Autosuggestion/Bootstrap)
✓ Alerts & Popups
✓ Frames & Windows
✓ Tables & Dynamic elements Synchronization:
✓ Implicit Wait
✓ Explicit Wait (WebDriverWait)
✓ Fluent Wait Advanced Concepts:
✓ Actions Class (mouse hover, drag-drop)
✓ JavaScript Executor
✓ Handling dynamic XPath
✓ File upload/download
Module 4:TestNG + Framework Design (7
hours) TestNG (Complete Topics):
Core TestNG:
✓ TestNG Introduction & Setup
✓ Annotations:
✓ @Test, @BeforeSuite, @BeforeClass,
@BeforeMethod
✓ @AfterSuite, @AfterClass, @ASfterMethod
Execution Control:
✓ Priority
✓ Groups & Group Execution
✓ DependsOnMethods
Data Handling:
✓ Data Provider
✓ Parameterization using XML
✓ Properties File
Parallel Execution:
✓ Parallel testing using TestNG XML
✓ Thread count configuration
✓ Assertions:
✓ Hard Assertions
✓ Soft Assertions
Reporting:
✓ Default reports
✓ Extent Reports integration
Framework Design (Industry Level):
✓ Page Object Model (POM)
✓ Page Factory
✓ Hybrid Framework (POM + Data-driven)
✓ Base Class design
✓ Reusable utilities
✓ Config file handling
✓ Extent Report
Module 5: Git + Jenkins (4 hrs) Git:
Git
✓ Branching & Merging
✓ Pull Requests
Jenkins:
✓ Jenkins Job creation
✓ Integration with Selenium/TestNG
✓ Scheduling jobs
✓ Basic pipeline concept

Module 6: Cucumber (BDD) (6 hrs) Topics:


✓ Gherkin syntax
✓ Feature files
✓ Step definitions
✓ Integration with Selenium
✓ Scenario Outline (data-driven BDD)
✓ Hooks (@Before, @After)
✓ Tags execution
✓ Cucumber Reports
✓ Integration with TestNG

You might also like