filmov
tv
Playwright | Automate your first test case using #Playwright
Показать описание
Playwright Javascript Automation framework was created specifically to accommodate the needs of #endtoend testing. Playwright supports all modern #rendering #engines including #Chromium, #WebKit, and Firefox. Test on #windows #linux and #macos , #locally or on #CI #headless or headed with native #mobile #emulation of Google Chrome for #android and Mobile Safari.
In this video, you will learn how to do configuration setup and automate the script using #playwright and also following topics are covered in this video -
1) Create #npm project and install Playwright dependencies.
#EntireFramework will be installed with the execution of a single command
"npm init playwright"
2)#Browser #context and Page #fixtures and #async #await in PlayWright.
3)Automate first test using PlayWright Test Annotation and Assertion.
Assertion will come by default with PlayWright. No need to use #mocha / #chai / #testng or any external tool for Assertion.
await expect(page).toHaveTitle("Title");
4)PlayWright configuration file for test execution.
browserName : 'chromium',
headless : false
5)Running playwright test in #MultipleBrowser
"npx playwright test --headed"
#playwright #playwrightautomation #automationtesting #playwrightinterviewquestions #framework #playwrightautomationtutorial #runtestinmultiplebrowser #crossbrowsertesting #playwrightconfigfile #playwrightforbeginners #playwrightforexpert
In this video, you will learn how to do configuration setup and automate the script using #playwright and also following topics are covered in this video -
1) Create #npm project and install Playwright dependencies.
#EntireFramework will be installed with the execution of a single command
"npm init playwright"
2)#Browser #context and Page #fixtures and #async #await in PlayWright.
3)Automate first test using PlayWright Test Annotation and Assertion.
Assertion will come by default with PlayWright. No need to use #mocha / #chai / #testng or any external tool for Assertion.
await expect(page).toHaveTitle("Title");
4)PlayWright configuration file for test execution.
browserName : 'chromium',
headless : false
5)Running playwright test in #MultipleBrowser
"npx playwright test --headed"
#playwright #playwrightautomation #automationtesting #playwrightinterviewquestions #framework #playwrightautomationtutorial #runtestinmultiplebrowser #crossbrowsertesting #playwrightconfigfile #playwrightforbeginners #playwrightforexpert