Cucumber with Playwright Typescript

Playwright Typescript using Cucumber

– Latest Version Playwright and  Typescript

What you’ll learn

  • Learn UI Automation Testing on Playwright in Depth.
  • Many real time examples covered.
  • By the end of the course you will be as much trained to automate any UI Application using Playwright.
  • Coverd Cucumber Setup with basic to Advance.

Course Content

  • Introduction –> 1 lecture • 21min.
  • Scenarios Creation –> 2 lectures • 40min.
  • All Topices –> 11 lectures • 2hr 48min.
  • Quiz –> 0 lectures • 0min.

Cucumber with Playwright Typescript

Requirements

– Latest Version Playwright and  Typescript

– As the Playwright market is growing, the demand for Playwright Automation testers is increasing like anything across the Globe.

– here, I am testing how to handle frame and windows

– I am teaching UI with multiple assertions in UI

– here you can learn how many wait in Playwright  how you can use into your project

– here you can learn POM(page object model)

– here you can learn how to take screenshot and video

– here you can learn how to take screenshot when script failes

– Once done with the course you will surely be able to justify 2-3 years of your current experience with Playwright UI Automation Testing.

– familiarity with the function and basic use of the software

– added with different ways to handle with Environment

1. Scenarios creation

2. Scenario Outlines creation

3. logs print

 

Playwright supports :

Cross-browser. Playwright supports all modern rendering engines including Chromium, WebKit, and Firefox.

Cross-platform. Test on Windows, Linux, and macOS, locally or on CI, headless or headed.

Cross-language. Use the Playwright API in TypeScript, JavaScript, Python, .NET, Java.

Test Mobile Web. Native mobile emulation of Google Chrome for Android and Mobile Safari. The same rendering engine works on your Desktop and in the Cloud.

Auto-wait. Playwright waits for elements to be actionable prior to performing actions. It also has a rich set of introspection events. The combination of the two eliminates the need for artificial timeouts – the primary cause of flaky tests.

Web-first assertions. Playwright assertions are created specifically for the dynamic web. Checks are automatically retried until the necessary conditions are met.

Tracing. Configure test retry strategy, capture execution trace, videos, screenshots to eliminate flakes.

Multiple everything. Test scenarios that span multiple tabs, multiple origins and multiple users. Create scenarios with different contexts for different users and run them against your server, all in one test.

Trusted events. Hover elements, interact with dynamic controls, produce trusted events. Playwright uses real browser input pipeline indistinguishable from the real user.

Test frames, pierce Shadow DOM. Playwright selectors pierce shadow DOM and allow entering frames seamlessly.

Browser contexts. Playwright creates a browser context for each test. Browser context is equivalent to a brand new browser profile. This delivers full test isolation with zero overhead. Creating a new browser context only takes a handful of milliseconds.

Log in once. Save the authentication state of the context and reuse it in all the tests. This bypasses repetitive log-in operations in each test, yet delivers full isolation of independent tests.

 

Get Tutorial