PlayWright - Courses
New batches started today, hurry up to contact us now!
Enroll For Free Demo
Playwright Automation course in Hyderabad
- Introduction to Playwright Features
- Install Node.js & Visual Studio for setting up Playwright Environment
Getting Started with Playwright Automation
- 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
- 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
Playwright Basic Methods for Web Automation
Handling UI Components(Dropdowns,RadioButtons, Child Windows)
- 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
Learn Playwright Inspectors,Trace Viewrs
- 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
Handling Web dialogs, Frames & Event Listeners
- Capture Screenshots with Playwright on page & partial Element level – Demo
- What is visual testing & How to perform it using Playwright
Perform Visual Testing With Playwright
- 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
Project Configurations & Config Options
- 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
API Testing with Playwright and Build mix of Web & API Tests
- 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
Page Object & Data Driven Paramtererization
- Capture Screenshots with Playwright on page & partial Element level – Demo
- What is visual testing & How to perform it using Playwright
- 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
HTML & Allure Reporting
- How to generate HTML & Allure reporting for Playwright Framework tests
- How to create custom scripts to trigger the tests from package.json
Javascript
Introduction
Variables
- Variable definition & syntax
- Variable rules
- var, let and const
- Variable scoping
Data types
- Literals of each type
- typeof operator
- Data type – different forms
- Trythy, falsy and nullish values
- Data type conversion – inbuilt functions
Strict mode
Conditional Statements
- Conditional statement intro
- Use case 1: Just If
- Use case 2: If (NOT)
- Use case 3: If and else
- Use case 4: Nested if conditions
- Use case 5: if..else [Inner conditions]
- Use case 6: Use of if conditional in loops
- Switch case – syntax
- Switch case – demo
Operators
- Operators Intro and types
- Overall operators
- Assignment operator
- Arithmetic operator
- Comparison operator
- Logical AND (&&)
- Logical OR (||)
- Logical Not (!)
- Logical operator OR – default value
- Ternary operator
Loops
- Loops – Intro
- Standard for loop – simple use case
- Standard for loop with Array
- Standard for loop – use of break statement
- Loops – forEach
- Loops – while
- Loops – for…in and for…of
String manipulations
- String intro
- String – different forms
- Formatting string
- Comparing string
- Extract substring – slice method
- String replace and replaceAll
- Extract substring – split method
- Extract substring – indexOf method
- Use of backslash in string
Arrow functions
- Arrow function
- Arrow functions demo
Promises
Async/Await
Functions
- Function – intro
- Named function demo
- Annomyous function demo
- Function parameter
- Rest parameters and arguments object
- Return statement
- Self invoking function
Call back functions
- What is callback function – quick demo
- Callback function overview
- Understanding callback function – How it works?
- Return statement in callback functions
Functions – Realtime uscase
- Callback – Real time use case
- Promises – Real time use case
- Asyn/Await – Real time use case
- Function as object – How?
Objects
- Objects overview
- Objects creation – Different ways
- Properties
- Methods and use of this keyword
- Dynamic key and value
- Access Object’s member
- Object assignment
- Merging objects
- Iterate object properties and methods
- Use of JSON.stringify method
- Object Oriented Programming – Inheritance
- Use of constructor property to differentiate object types
Classes
- Classes – Intro
- Classes – syntax
- Page object model – context
- Create a simple class with two methods
- Class – inheritance
- Getter property
- Setting up variable and constructor
Arrays
- Arrays – Intro
- Array creation – different ways
- Add elements
- length property – rules
- Different data structure
- Traverse and access elements
- Use of map method
- Use of filter method
Error handling
- Error Handling – intro
- Common error objects in JS
- throw statement demo
- .catch demo