KEMBAR78
Playwright With Javascript | PDF | Java Script | Control Flow
0% found this document useful (0 votes)
14 views9 pages

Playwright With Javascript

To learn js

Uploaded by

Sunayana K
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)
14 views9 pages

Playwright With Javascript

To learn js

Uploaded by

Sunayana K
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
You are on page 1/ 9

SG

SOFTWARE
TESTING INSTITUTE

Empower your

FUTURE
with the skills of
tomorrow in

PLAYWRIGHT WITH JAVASCRIPT WEB


AND API AUTOMATION SYLLABUS

Our Website Mobile


www.sgtestinginstitute.com +91 99867 54997
JavaScript Syllabus
Basic JavaScript:

Download and install NodeJS


Download and install Visual Studio Code
How to Include JavaScript in HTML Web
Page
Output Statements in JavaScript
[document.write, alert, console.log]
Input Statement in JavaScript [prompt]
confirm dialog box in JavaScript
Variables in JavaScript
Declare Variables using Var, Let & Const
Datatypes in JavaScript
Operator & types of operator in JavaScript
1.Arithmetic Operators explained in
javascript
2. Relational Operators & types of
relational operators
3. logical operators &types of logical
operators in javascript
4. concept of assignment operators &
types of assignment operators in
javascript
Conditional statements in JavaScript
1. if statement
2.if else statement
3.nested if else statement
Ternary Operator in JavaScript
Switch statement in JavaScript
Looping Statement - For Loop
Looping Statement - While Loop
Looping Statement - Do..While Loop
Loop Control Statements - Break and
Continue
Patterns in JavaScript *******
Advanced JavaScript
String & String Methods in JavaScript
Numbers & Numbers Methods in JavaScript
Template Literals in JavaScript
Date Constructor in JavaScript
Arrays & Array Methods in JavaScript
For of Loop with an array in JavaScript
For in Loop with an array in JavaScriptString
& String Methods in JavaScript
Array destructuring & Rest operator in
JavaScript
Functions in JavaScript
Functions which do not return value
Functions which returns value
Anonymous Functions in JavaScript
Arrow Functions in JavaScript
Recursion in JavaScript
Introduction to Objects in JavaScript
Objects/ Array of Objects/ Nested Objects/
Objects with Function in JavaScript
Read key and value pair from objects
Object destructuring in JavaScript
Higher Order Functions in JavaScript
Arrays Functions - Map, Filter and Reduce
Set in JavaScript
Map in JavaScript
Object-Oriented Programming
Classes in JavaScript
Constructor and Functions in Class
Getters and Setters
Export and Import Classes
Encapsulation in JavaScript
Inheritance in JavaScript
Prototype JavaScript
Promises and fetch
Async Await
Playwright Syllabus:
Module 1:
Download and Install NodeJS

Download and Install Visual Studio Code

Installing Playwright in Visual Studio Code

Write Playwright Tests using Traditional Function

Write Playwright Tests using Anonymous Function

Write Playwright Tests using Arrow Function

Write First Playwright Tests With Basic Assertions

Run single and multiple Playwright tests

Test Hooks - beforeEach, afterEach, beforeAll & afterAll

Module 2:
Interact With WebElement In Playwright

Write Login and Logout Test in Playwright

Built-In Locators in Playwright

Locating Web Elements using Xpath

Locating Web Elements using CSS

Write End-to-End Scenarios in Playwright


Module 3:
Record & Playback Scripts In Playwright with Codegen

Apply APIResponseAssertions in Playwright

Apply GenericAssertions in Playwright

Apply LocatorAssertions in Playwright

Apply PageAssertions in Playwright

Apply SnapshotAssertions in Playwright

Module 4:

Configure GitHub SSH and Push Playwright Tests

Page Object Model in Playwright With javaScript


Module 5:
How to Handle Text Fields, Checkbox, Radio Buttons

Get Text and Verify Text In Playwright

Maximize Browser Window using Viewport In Playwright

How To Take Screenshots, Videos and Trace Viewer in Playwright

How To Retry Failed Test Cases in Playwright

Perform Mouse Hover on UI Elements in Playwright

Perform Mouse Right Click/Context Click/Double Click Action

Module 6:
How to Handle Alerts [alert(),confirm(), prompt()] in Playwright

How to handle Dropdown and Verify Dropdown Values

How to handle Multi Select DropDown

Upload Single or Multiple Files In Playwright With TypeScript

Handle Keyboard Actions in Playwright

Handle Autocomplete and Autosuggestion in Playwright

Handle Frames and iFrames in Playwright

Handle Inner/Nested Frames in Playwright

Handle WebTable and Pagination Table in Playwright


Module 7:
Browser and Browser Context in Playwright

handle Multiple Pages/Windows in Playwright

Handle Popups or multiple tabs or Switch To Different Tabs or Popups

Handle Dynamic Network Call in Playwright

Handle Date Pickers/Calendars in Playwright

Module 8:

Grouping Tests - Describe Block in Playwright

How Apply Annotations and Tag playwright tests

Parametrize the Test data from JSON Files

Generate List, Dot, JSON, JUnit & HTML Reporters

Generate Allure Reports in Playwright


Module 9:
BDD Cucumber Automation Framework Design in
Playwright

1. Install Cucumber

2. Explore Gherkin Language

3. Create Feature Files

4. Create Step Definition Files

5. Integrate Hooks

6. Filtering which scenarios run

7. Retrying failed scenarios

8. Parallel running

Module 10:
Postman Restful API Testing
1. Download and install the Postman Tool

2. Understanding GET/POST/PUT/PATCH/DEELTE HTTP Methods

3. In Postman Create Collections and Add API Requests

4. For Each Execution of GET/POST/PUT/PATCH/DEELTE HTTP


Methods validate in data base

5. Validate Responses in Postman [Snippets]

6. Understanding JSON Files

7. Schema Validation in Postman

8. How to run the Collections


Module 11:
Playwright Restful API Automation
Configure the Environment for Swagger

Write Test on POST HTTP Request

Write Test on GET HTTP Request

Write Test on PUT HTTP Request

Write Test on PATCH HTTP Request

Write Test on DELETE HTTP Request

Write Test on HEAD HTTP Request

Write End-To-End Scenarios

Validate status code in Playwright

Validate API response in Playwright

Module 12:
Integrate Playwright Tests With Jenkins

Explore LLM, Agent and MCP Server

GitHub Copilot Integration with VS Code

Write and Execute Playwright Tests using GitHub Copilot and MCP

Write and Execute Fetching Records from Database using


GitHub Copilot and MCP

You might also like