Playwright


Automation Testing - Playwright Course Content

Chapter 1: Introduction to Playwright

  • Overview of Playwright and its features
  • Tool Download and Installation (Visual Studio Code)

Chapter 2: Course Structure

  • Understanding the course design and learning objectives

Chapter 3: Configuring Playwright in Visual Studio Code

  • Setting up Visual Studio for Playwright
  • Playwright Test Annotations and async/await
  • Understanding Browser Context and Page Fixtures
  • Importance of the Configuration File
  • Running Tests in Multiple Browsers

Chapter 4: Writing and Running Tests

  • Creating and Running Tests in VS Code
  • Test Generator - Codegen Tool
  • Using Playwright Inspector for Debugging

Chapter 5: Locating Web Elements and Assertions

  • Finding Elements Using XPATH & CSS Selectors
  • Built-in Locators in Playwright
  • Implementing Assertions in Playwright
  • Soft and Hard Assertions

Chapter 6: Handling Various UI Elements

  • Handling Input Boxes
  • Working with Radio Buttons and Checkboxes
  • Handling Dropdowns and Multi-Select Dropdowns
  • Implementing Auto-Suggestions
  • Managing Dialogs and Alerts
  • Handling Multiple Pages/Windows
  • Working with Frames
  • Interacting with Web Tables
  • Using Date Pickers

Chapter 7: Mouse and Keyboard Actions

  • Performing Mouse Hover Actions
  • Right Click and Context Click
  • Double Click and Drag & Drop
  • Keyboard Interactions
  • Uploading Files

Chapter 8: Advanced Test Management

  • Implementing Hooks
  • Grouping Tests and Test Tagging
  • Understanding Annotations
  • Using Page Object Model (POM) in Playwright
  • Retrying Failed Test Cases - Handling Flakiness

Chapter 9: Test Reporting and Debugging

  • Capturing Screenshots
  • Recording Test Videos
  • Using Trace Viewer for Debugging
  • Generating Built-in Reports
  • Using Allure Reports for Detailed Insights

Chapter 10: Utility Handling in Playwright

  • Reading and Writing Data from Excel Files
  • Handling JSON Data

Chapter 11: Playwright with Cucumber

  • Integrating Playwright with Cucumber
  • Writing and Executing BDD Test Cases

Chapter 12: Real-World Project

  • Configuring an eCommerce Application for Automation
  • Implementing Test Cases Using the Page Object Model
  • Automating Test Cases with Cucumber
  • Downloading and Managing Test Cases

Course Duration: 30 Hrs.
Course Fee: ₹12,500