Easiest way | Playwright Page Object Model | Step by Step DEMO
Free Tutorials - https://AutomationStepByStep.com/
Playwright Page Object Model Project
00:00 Introduction
00:20 Step 1 - Create a new folder and open in IDE or Editor (like VS Code)
02:09 Step 2 - Initialize a new Node.js project by running npm init -y to create a package.json file
03:05 Step 3 - Install & Setup Playwright by running npm init playwright@latest
04:40 Step 4 - Create a demo login test, can use Test Generator to record npx playwright codegen
08:35 Step 5 - Run tests and check results - npx playwright test & npx playwright show-report
12:47 Step 6 - Create new folder "pages" in your project, this will contain all page objects
14:55 Step 7 - Create a new file and class for each page e.g. login.js and LoginPage
15:33 Step 8 - In the class create element locators & action methods for login page
22:38 Step 9 - In test file, import the page class, create instance of it, & use methods from LoginPage class
28:04 Step 10 - Run the test npx playwright test and check results
30:40 Upload project on GitHub
Demo App - https://the-internet.herokuapp.com/login
GitHub Project - https://github.com/Raghav-Pal/Playwright_PageObjectModel
▬▬▬▬▬▬▬
Every Like & Subscription gives me great motivation to keep working for you
You can support my mission for education by sharing this knowledge and helping as many people as you can
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav Pal
#Playwright #PageObjectModel
▬▬▬▬▬▬▬▬ USEFUL LINKS ▬▬▬▬▬▬▬▬▬
Ask Raghav - https://bit.ly/2CoJGWf
GitHub Repositories - https://github.com/Raghav-Pal
Udemy Discounts - https://automationstepbystep.com/udemy-discounts/
Stories - https://automationstepbystep.com/stories/
▬▬ CI | CD | DEVOPS ▬▬
Jenkins Beginner - https://bit.ly/2MIn8EC
Jenkins Tips & Trick - https://bit.ly/2LRt6xC
Docker - https://bit.ly/2MInnzx
Jenkinsfile - https://bit.ly/3JSMSZ7
Kubernetes - http://bit.ly/2MJIlMK
▬▬ UI TESTING ▬▬
Selenium Beginners - https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch - https://bit.ly/2N9xvR6
Selenium Python - https://bit.ly/2oyMp5x
Selenium 4 - https://bit.ly/3AiJOlP
Selenium Tips - https://bit.ly/2owxc50
Selenium Builder - https://bit.ly/2MKNtlq
Katalon Studio - https://bit.ly/2wARFdi
Robot Framework with RIDE- https://bit.ly/2Px6Ue9
Robot Framework with Eclipse - http://bit.ly/2N8DZxb
Protractor - http://bit.ly/2KtqVkU
AccelQ - https://bit.ly/3PlsAsh
Test Project - http://bit.ly/2DRNJYE
Cucumber BDD - https://bit.ly/3Cnno4z
Cypress - https://bit.ly/3PpEukM
Playwright - https://bit.ly/3iuPByJ
WebdriverIO - https://bit.ly/3IJyofA
XPath & Web Locators - https://bit.ly/3PpEvoQ
▬▬ API TESTING ▬▬
Web Services (API) - https://bit.ly/2MGafL7
SoapUI - https://bit.ly/2MGahmd
Postman - https://bit.ly/2wz8LrW
Postman 2022 - https://bit.ly/3JWm4qX
Rest Assured - https://bit.ly/3zUdhRD
Karate API Testing - https://bit.ly/3w3H5Ku
General - https://bit.ly/2PYdwmV
JMeter API Testing - https://bit.ly/3AgVPar
Katalon Studio API Testing - https://bit.ly/2BwuCTN
API Mocking - https://bit.ly/3bYPsjS
▬▬ MOBILE TESTING ▬▬
Appium - https://bit.ly/2ZHFSGX
Mobile Playlist - https://bit.ly/2PxpeUv
▬▬ PERFORMANCE TESTING ▬▬
JMeter Beginner - https://bit.ly/2oBbtIU
JMeter Intermediate - https://bit.ly/2oziNVB
JMeter Advanced - https://bit.ly/2Q22Y6a
JMeter Tips & Tricks - https://bit.ly/2NOfWD2
Gatling - https://bit.ly/3QrWfkV
Performance Testing - https://bit.ly/2wEXbLS
▬▬ SOURCE CODE MANAGEMENT ▬▬
Git & GitHub - https://bit.ly/2Q1pagY
GITLAB - http://bit.ly/2kQPGyQ
▬▬ IDE ▬▬
Eclipse - https://bit.ly/3AnRhQP
IntelliJ IDEA - https://bit.ly/3AnyDZ8
Visual Studio Code - https://bit.ly/2V15yvt
▬▬ PROGRAMMING ▬▬
Java Beginners - https://bit.ly/2PVUcXs
Java Tips & Tricks - https://bit.ly/2CdcDnJ
Groovy - https://bit.ly/2FvWV5C
JavaScript - http://bit.ly/2KJDZ8o
TypeScript - https://bit.ly/3dvJBmz
Python - http://bit.ly/2Z4iRye
Ruby - https://bit.ly/3JRRmzf
▬▬ BUILD TOOLS ▬▬
Maven - https://bit.ly/2NJdDRS
Gradle - http://bit.ly/30l3h1B
▬▬ CLOUD SERVICES ▬▬
Browserstack - https://bit.ly/3w7kxZn
Saucelabs - https://bit.ly/3w7kAo1
LambdaTest - https://bit.ly/3C6TBwM
▬▬ DATA FORMATS ▬▬
JSON - https://bit.ly/3w450tq
XML - https://bit.ly/3PqRneH
▬▬ OTHERS ▬▬
Virtualization on Windows - http://bit.ly/2SItIL9
Mock Interviews - https://bit.ly/3QGwwVJ
Redis - https://bit.ly/2N9jyCG
Misc - https://bit.ly/2Q2q5xQ
Tools & Tips - https://bit.ly/2oBfwoR
QnA Friday - https://bit.ly/2NgwGpw
Sunday Special - https://bit.ly/2wB23BO
—
Видео Easiest way | Playwright Page Object Model | Step by Step DEMO канала Automation Step by Step
Playwright Page Object Model Project
00:00 Introduction
00:20 Step 1 - Create a new folder and open in IDE or Editor (like VS Code)
02:09 Step 2 - Initialize a new Node.js project by running npm init -y to create a package.json file
03:05 Step 3 - Install & Setup Playwright by running npm init playwright@latest
04:40 Step 4 - Create a demo login test, can use Test Generator to record npx playwright codegen
08:35 Step 5 - Run tests and check results - npx playwright test & npx playwright show-report
12:47 Step 6 - Create new folder "pages" in your project, this will contain all page objects
14:55 Step 7 - Create a new file and class for each page e.g. login.js and LoginPage
15:33 Step 8 - In the class create element locators & action methods for login page
22:38 Step 9 - In test file, import the page class, create instance of it, & use methods from LoginPage class
28:04 Step 10 - Run the test npx playwright test and check results
30:40 Upload project on GitHub
Demo App - https://the-internet.herokuapp.com/login
GitHub Project - https://github.com/Raghav-Pal/Playwright_PageObjectModel
▬▬▬▬▬▬▬
Every Like & Subscription gives me great motivation to keep working for you
You can support my mission for education by sharing this knowledge and helping as many people as you can
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav Pal
#Playwright #PageObjectModel
▬▬▬▬▬▬▬▬ USEFUL LINKS ▬▬▬▬▬▬▬▬▬
Ask Raghav - https://bit.ly/2CoJGWf
GitHub Repositories - https://github.com/Raghav-Pal
Udemy Discounts - https://automationstepbystep.com/udemy-discounts/
Stories - https://automationstepbystep.com/stories/
▬▬ CI | CD | DEVOPS ▬▬
Jenkins Beginner - https://bit.ly/2MIn8EC
Jenkins Tips & Trick - https://bit.ly/2LRt6xC
Docker - https://bit.ly/2MInnzx
Jenkinsfile - https://bit.ly/3JSMSZ7
Kubernetes - http://bit.ly/2MJIlMK
▬▬ UI TESTING ▬▬
Selenium Beginners - https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch - https://bit.ly/2N9xvR6
Selenium Python - https://bit.ly/2oyMp5x
Selenium 4 - https://bit.ly/3AiJOlP
Selenium Tips - https://bit.ly/2owxc50
Selenium Builder - https://bit.ly/2MKNtlq
Katalon Studio - https://bit.ly/2wARFdi
Robot Framework with RIDE- https://bit.ly/2Px6Ue9
Robot Framework with Eclipse - http://bit.ly/2N8DZxb
Protractor - http://bit.ly/2KtqVkU
AccelQ - https://bit.ly/3PlsAsh
Test Project - http://bit.ly/2DRNJYE
Cucumber BDD - https://bit.ly/3Cnno4z
Cypress - https://bit.ly/3PpEukM
Playwright - https://bit.ly/3iuPByJ
WebdriverIO - https://bit.ly/3IJyofA
XPath & Web Locators - https://bit.ly/3PpEvoQ
▬▬ API TESTING ▬▬
Web Services (API) - https://bit.ly/2MGafL7
SoapUI - https://bit.ly/2MGahmd
Postman - https://bit.ly/2wz8LrW
Postman 2022 - https://bit.ly/3JWm4qX
Rest Assured - https://bit.ly/3zUdhRD
Karate API Testing - https://bit.ly/3w3H5Ku
General - https://bit.ly/2PYdwmV
JMeter API Testing - https://bit.ly/3AgVPar
Katalon Studio API Testing - https://bit.ly/2BwuCTN
API Mocking - https://bit.ly/3bYPsjS
▬▬ MOBILE TESTING ▬▬
Appium - https://bit.ly/2ZHFSGX
Mobile Playlist - https://bit.ly/2PxpeUv
▬▬ PERFORMANCE TESTING ▬▬
JMeter Beginner - https://bit.ly/2oBbtIU
JMeter Intermediate - https://bit.ly/2oziNVB
JMeter Advanced - https://bit.ly/2Q22Y6a
JMeter Tips & Tricks - https://bit.ly/2NOfWD2
Gatling - https://bit.ly/3QrWfkV
Performance Testing - https://bit.ly/2wEXbLS
▬▬ SOURCE CODE MANAGEMENT ▬▬
Git & GitHub - https://bit.ly/2Q1pagY
GITLAB - http://bit.ly/2kQPGyQ
▬▬ IDE ▬▬
Eclipse - https://bit.ly/3AnRhQP
IntelliJ IDEA - https://bit.ly/3AnyDZ8
Visual Studio Code - https://bit.ly/2V15yvt
▬▬ PROGRAMMING ▬▬
Java Beginners - https://bit.ly/2PVUcXs
Java Tips & Tricks - https://bit.ly/2CdcDnJ
Groovy - https://bit.ly/2FvWV5C
JavaScript - http://bit.ly/2KJDZ8o
TypeScript - https://bit.ly/3dvJBmz
Python - http://bit.ly/2Z4iRye
Ruby - https://bit.ly/3JRRmzf
▬▬ BUILD TOOLS ▬▬
Maven - https://bit.ly/2NJdDRS
Gradle - http://bit.ly/30l3h1B
▬▬ CLOUD SERVICES ▬▬
Browserstack - https://bit.ly/3w7kxZn
Saucelabs - https://bit.ly/3w7kAo1
LambdaTest - https://bit.ly/3C6TBwM
▬▬ DATA FORMATS ▬▬
JSON - https://bit.ly/3w450tq
XML - https://bit.ly/3PqRneH
▬▬ OTHERS ▬▬
Virtualization on Windows - http://bit.ly/2SItIL9
Mock Interviews - https://bit.ly/3QGwwVJ
Redis - https://bit.ly/2N9jyCG
Misc - https://bit.ly/2Q2q5xQ
Tools & Tips - https://bit.ly/2oBfwoR
QnA Friday - https://bit.ly/2NgwGpw
Sunday Special - https://bit.ly/2wB23BO
—
Видео Easiest way | Playwright Page Object Model | Step by Step DEMO канала Automation Step by Step
Показать
Комментарии отсутствуют
Информация о видео
19 января 2023 г. 18:11:00
00:34:10
Другие видео канала
![JMeter Assertions from scratch | Part 1 |](https://i.ytimg.com/vi/Ce1N9N1Gz3I/default.jpg)
![Sunday Special 16 | Passion to Profession | How to find and follow your passion](https://i.ytimg.com/vi/T-CS1zfAUIE/default.jpg)
![Katalon Studio How to connect MySQL Database](https://i.ytimg.com/vi/ka3vYyXpmX0/default.jpg)
![#AskRaghav | Job Opportunities for 1 year experienced Manual Testing](https://i.ytimg.com/vi/HSdut3hbH3o/default.jpg)
![AccelQ Beginner Tutorials 3 | How to create Action in AccelQ](https://i.ytimg.com/vi/cV1oj8fC9rk/default.jpg)
![#AskRaghav | What is Blue-Green Deployment | How it works](https://i.ytimg.com/vi/AcboeYO6nVE/default.jpg)
![4 | JMeter | First Test |](https://i.ytimg.com/vi/JizzHN-scvo/default.jpg)
![#AskRaghav | How AI will impact our work and life | A detailed analysis](https://i.ytimg.com/vi/dpB1LVbsUYM/default.jpg)
![Sunday Special 9 | How to achieve any difficult GOAL | 4 Tips](https://i.ytimg.com/vi/9sIsb8yjsSc/default.jpg)
![Sunday Special | Story | Keep Roots Stronger | Raghav Pal |](https://i.ytimg.com/vi/MGEVI2ioqO8/default.jpg)
![Interviews & Resume | How to handle different job interviews](https://i.ytimg.com/vi/5pYhNDD8BpQ/default.jpg)
![#AskRaghav | Is Coding required for JMeter](https://i.ytimg.com/vi/LGBd4qSt3JM/default.jpg)
![Sunday Special 73 | A Story | Secret to become Great |](https://i.ytimg.com/vi/JzEuX1yaOZc/default.jpg)
![A message from Raghav | BDD Course](https://i.ytimg.com/vi/U_LY1BZQVWk/default.jpg)
![#AskRaghav | This will help you to select the right API Automation Testing Tools |](https://i.ytimg.com/vi/AlmI9x8YKWE/default.jpg)
![Sunday Special 96 | Story | The MotorCyclist](https://i.ytimg.com/vi/Z_D0euE0ASI/default.jpg)
![AccelQ Beginner Tutorials 6 | Real-world examples Parameterization | How to parameterize date field](https://i.ytimg.com/vi/3m81G7KZoGk/default.jpg)
![Sunday Special 62 | Bring Back The Child in You | Motivational Video](https://i.ytimg.com/vi/JGQgSMNIhws/default.jpg)
![#AskRaghav | Will Automation take away our Jobs | Real Examples](https://i.ytimg.com/vi/6sQDkb5SJkA/default.jpg)
![#AskRaghav | How to conduct Interview](https://i.ytimg.com/vi/m4sth0C0pvk/default.jpg)
![Sunday Special 54 | This is the Most Powerful Thing I can tell you](https://i.ytimg.com/vi/hynnoHB-3Q0/default.jpg)