Course Highlights
  • Understand the Web Automation with Playwright on Live Applications
  • Comprehensive knowledge on all Playwright Methods and their usage with examples
  • Learn How to make API calls with in UI Automation tests to perform smart automation
  • Understand how to Intercept Network/API requests & responses with Playwright
  • Get Familiar with Playwright Inspector tool, Trace Viewer & Code Gen (Record Playback) tools
  • Develop End to end Framework with Playwright utilizing all the features available in the tool
  • Learn Visual testing with Playwright to compare the Images
  • Learn JavaScript fundamentals required for Playwright Automation testing
Curriculum

4 Topics
Introduction to Playwright Features - Part 1
Introduction to Playwright Features - Part 2
How this Course is designed? Topics Breakup
Install Node.js & Visual Studio for setting up Playwright Environment

6 Topics
Download the complete course code as zip file
Create npm Project and install Playwright dependencies for testing
Importance of Playwright Test Annotation and async await understanding
What is browser context and Page fixtures in Playwright ? - Example
Importance of Playwright configuration file and its details to run the tests
Running Playwright tests in multiple browsers - chrome Firefox 7 Webkit

6 Topics
Locators supported by playwright and how to type into elements on page
Extracting the text from browser and inserting valid expect assertions in test
How to work with locators which extract multiple webelements in page
Understanding how wait mechanism works if list of elements are returned
Techniques to wait dynamically for new page in Service based applications
Code download

4 Topics
Handling static Select dropdown options with Playwright
Selecting radio buttons Checkboxes and implement expect assertions
Using async await with Assertions and understand validating the attributes
Handling Child windows & Tabs with Playwright by switching browser context

3 Topics
What is Playwright Inspector? And how to debug the playwright script
Codegen tool to record & Playback with generated automation script
Detailed view of Test Traces HTML reports logs & Screenshots for test results

8 Topics
Demo of the Application and Test Scenarios which needs to be automated
Write the Script to dynamically find the product to buy from list of products
Add assertions for the actions performed and implement necessary Sync steps
Handling Auto suggestive dropdown options with playwright - Example
Complete E2E flow of Placing the order and grab the OrderID with Playwright
Download Code
Dynamically find the order from OrderHistory page using Playwright Script logic
End to End code discussed in the Section for reference

3 Topics
Understand how GetByLabel & Playwright UI Runner works with an example
Filtering elements with GetByRoleGetByText and perform chaining methods in step
Code download

3 Topics
How to validate if element is hidden displayed mode with Expect assertions
How to automate Java/JavaScript Alert popups with Playwright
How to handle & Automate frames with Playwright - Example

7 Topics
understanding the importance of API integration calls for Web tests
Playwright request method to make API calls and grab response - Example
Parsing API response & passing token to browser local storage with Playwright
Place order API to create order and bypass the flow in UI with mix of web/API
End to end validation with mix of API & Web concepts - Reduce test time
Refactor API calls from utils folder and isolate from Web test logic
Part 2 - Refactor API calls from utils folder and isolate from Web test logic

9 Topics
How to save session storage using Playwright and inject into new Browser context
How to debug the API steps in script using Visual code debugging
Detailed view of Trace viewer to understand the API logging req/responses
How to intercept Network response calls with Playwright route method
Understand the playwright route method and its parameters in intercepting - demo
Code download
How to intercept Network request calls with Playwright - Example demo
Code download
How to abort the Network calls with Playwright - Examples

2 Topics
Capture Screenshots with Playwright on page & partial Element level - Demo
What is visual testing & How to perform it using Playwright

7 Topics
What is page object pattern & Importance of its implementation
Creating Page objects and action methods for end to end Script - Part 1
Creating Page objects and action methods for end to end Script - Part 2
Assignment Solution - Converting Page object Model Project
How to drive the data from external json files to playwright tests
Implementing Parameterization in running tests with different data sets
How to pass test data as fixture by extend test annotation behaviour

3 Topics
various options in use property & setting up Project configurations
View port Property on emulating browser to mobile devices with playwright
Screenshots Videos Traces & SSL certification options setting in Config file

5 Topics
how to fix flaky tests with test retry option in playwright config file
Understand how playwright run tests in serial & parallel mode and update setting
How to run tests parallely from the same file by extending test option behaviour
Reason for test failures - Race condition - Fix them
How to tag tests and control the execution from the command line parameters

4 Topics
How to generate HTML & Allure reporting for Playwright Framework tests
How to create custom scripts to trigger the tests from package.json file
Install & Configure Jenkins
Integrate the Playwright framework with Jenkins and create parameterized Job

9 Topics
What is Cucumber Framework ? How it fits in Playwright needs
Cucumber Configuration and setup feature files into Playwright Project
Create Step Definition files and associate with Cucumber.js config file
Implement Code login into StepDefinition file and run Cucumber feature files
What is World Constructor? Its usage in Playwright Cucumber
Understand Cucumber Hooks and its implementation process in framework
Implement Cucumber Tags for features and also demo on Tagged Hooks to filter
Parameterization with Scenario outline & run tests Parallel in Playwright
Generate HTML reports for Cucumber Playwright & Rerun failed Scenarios

1 Topic
Code download

2 Topics
Important Info about this Section
Complete 3 hours JavaScript Tutorial for Automation Testing

  Write a Review

Playwright Automation Testing from Scratch with Framework

Go to Paid Course