Course Information
Course Overview
Playwright Cucumber - POM, HTML Report with screenshot, video and logs.
In this video, we will explore how to use cucumber with TypeScript. Cucumber is a popular behavior-driven development (BDD) tool that allows developers and stakeholders to collaborate on defining and testing application requirements in a human-readable format. TypeScript is a powerful superset of JavaScript that adds optional static typing, making it easier to catch errors before runtime. Combining these two tools can create more reliable and maintainable tests.
We will start by explaining the basics of BDD and Cucumber, including how to write feature files and step definitions. Then, we will show you how to set up a TypeScript project and integrate Cucumber. You will learn how to write step definitions in TypeScript, use the cucumber-js library to run your tests, and generate reports using cucumber-HTML-reporter.
Microsoft Playwright is an open-source Node.js library for automating web browsers. It was developed by Microsoft and released in 2019. Playwright allows developers to write scripts in JavaScript, TypeScript, or any other language that can compile to JavaScript, and use them to automate the testing of web applications.
Playwright supports multiple web browsers, including Chromium, Firefox, and WebKit, and provides a consistent API for interacting with them. This means that developers can write their scripts once and run them across multiple browsers, without having to worry about the differences in browser behavior.
One of the key features of Playwright is its support for modern web technologies, such as single-page applications, progressive web apps, and web components. A playwright can interact with these technologies in the same way that a human user would, allowing developers to write more robust and comprehensive tests.
In addition to testing, Playwright can also be used for other tasks, such as web scraping and web automation. It provides a wide range of features for interacting with web pages, including clicking elements, filling out forms, and taking screenshots.
Overall, Microsoft Playwright is a powerful and flexible tool for automating web browsers and is a popular choice among developers for testing web applications.
By the end of this video, you will have a solid understanding of how to use Cucumber with TypeScript to write robust and maintainable tests for your applications. Whether you are a seasoned developer or just getting started with testing, this video will give you the knowledge and skills you need to be successful. So, grab your favorite beverage, and let's get started!
Course Content
- 8 section(s)
- 13 lecture(s)
- Section 1 The basics of BDD
- Section 2 What is hook?
- Section 3 How to execute in parallel & generate HTML reports
- Section 4 How to handle multiple environment and generate logs
- Section 5 How to run tests on cloud?
- Section 6 How to integrate with Page Object Model?
- Section 7 Making the execution easier
- Section 8 Attach Trace viewer
What You’ll Learn
- How to write step definitions using Typescript and Playwright, How to maintain the project structure and run scenarios parallel, How to create a best test report with screenshots of failed scenario along with video and logs, By the end of the course, you'll learn how to build an end to end BDD framework
Skills covered in this course
Reviews
-
AAnoop
waste course. author makes it difficult and even his course bdd selenium java is like this only. this guy speaks as though candidate already knows.
-
DDipti Mhatre
Good Course . However, my intention was to get the Cucumber with Playwright along with Page Object Model and that is missing
-
KKrishna
Talks very fast and hard to understand
-
LLawrence M. Lutton
This course provides a thorough, step by step explanation of implementing BDD in VS Code.