Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Playwright With Cucumber Bdd & Typescript - Beginner To Pro

Posted By: ELK1nG
Playwright With Cucumber Bdd & Typescript - Beginner To Pro

Playwright With Cucumber Bdd & Typescript - Beginner To Pro
Published 8/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 9.27 GB | Duration: 15h 9m

Learn how to create automated UI tests using Playwright with Behaviour Driven Development (Cucumber BDD) and TypeScript

What you'll learn

Master TypeScript fundamentals to effectively automate tasks using Playwright.

Build advanced automation tests for any web application using Playwright & Cucumber BDD.

Understand the importance of Behavior Driven Development (BDD) using Cucumber & Gherkin.

Combine two in-demand technologies: Playwright & Cucumber BDD (latest versions).

Gain in-depth knowledge of Cucumber’s core components: Scenario Outlines, Background Keyword, Tags, and more.

Know when and how to use specific Gherkin keywords such as ‘Feature’, ‘Given’, ‘When’, ‘And’, ‘Then’, and more.

Generate a wide range of reports.

Apply principles such as DRY (Don’t Repeat Yourself) and more.

Implement design patterns such as POM (Page Object Model) & custom commands.

Leverage Jenkins (CI) to easily execute test scenarios based on tags and custom scripts.

Use Jenkins to develop sophisticated reports and handle various runtime options (e.g., browser selection).

And much more, refer to the course Curriculum.

Requirements

Some basic JavaScript knowledge would be beneficial (not critical). A TypeScript Fundamentals section is included in the course.

Some knowledge of programming would be beneficial (not critical).

Some basic HTML and CSS knowledge would also be useful (not critical).

Feel free to ask questions in the Q&A section(s) of the course if something is not clear or does not work.

Description

This course uses the latest versions of Playwright & Cucumber BDD.Why Playwright?Playwright is a multi-programming language end-to-end testing framework that is not only popular but also rapidly growing in popularity due to its outstanding features and ease of use.Why Cucumber BDD?Cucumber BDD (Behaviour-driven development) much like 'Playwright' is a technology which is growing in popularity by the day and is used by organisations across the globe. Cucumber BDD captures test requirements in a simplistic manner, making it easy not only for 'Non technical parties/people' to understand scenario's which have been automated, but also assists the process of building effective automation frameworks and tests.Why this course?This course is designed to be quick, effective, efficient and easy to follow. I have been teaching for several years on Udemy with over 8 highly successful courses to date. I have refined this course using proven teaching techniques. This course is carefully structured from start to finish and I provide downloadable code examples after each coding lecture. What does this course cover?Introduction to Playwright and Testing Basics:Learn how to rapidly create both simplistic and sophisticated automated UI tests using Playwright.Understand the importance of Cucumber BDD (Behaviour-Driven Development).Capture test (scenario) requirements effectively and effortlessly using Cucumber BDD.Gain knowledge of ‘Gherkin’, Cucumber’s language parser.Know why and when to use specific Gherkin keywords such as ‘Feature’, ‘Given’, ‘When’, ‘And’, ‘Then’, and more!Learn the differences between ‘Scenarios’ and ‘Scenario Outlines’.Simplify tests using specific Cucumber BDD features such as the ‘Background’ keyword.Insert and modify test data directly within feature files.Correctly map test requirements to actions using Cucumber step definitions and Playwright.Become familiar with ‘Tags’ and learn how to target and execute specific tests (scenarios).Programming and Tools:Learn TypeScript, NPM, and NodeJS to enhance your testing capabilities.Understand the fundamentals of TypeScript and how it integrates with Playwright.Manage project dependencies and scripts efficiently using NPM.Utilize NodeJS for server-side scripting and automation tasks.Advanced Testing Techniques:Understand the importance of design patterns such as Page Object Modelling (POM).Learn best practices such as DRY (Don’t Repeat Yourself).Leverage ‘Hooks’ and ‘Custom Commands’.Reporting and Continuous Integration:Create sophisticated reports (HTML reports, JSON reports) and more!Learn continuous integration using Jenkins and understand its usefulness.Become familiar with important add-ons for Jenkins.Create visually appealing reports within Jenkins and attach images to those reports.Handle extensible choice parameters (selection dropdown lists) via Jenkins.Additional Features:And much much more!

Overview

Section 1: Getting Started with Playwright & Cucumber

Lecture 1 Tool Comparison: Playwright vs. Cucumber BDD

Lecture 2 Benefits Overview: Why Learn Playwright & Cucumber BDD?

Lecture 3 Code Exploration: Delve Deeper into Playwright

Lecture 4 Diving Deep into the Playwright Community

Section 2: Environment - Setup: Getting Ready

Lecture 5 Node.js: Quick Setup

Lecture 6 Visual Studio Code: VS Code Basics

Lecture 7 Git Bash: Installing Git Bash

Lecture 8 Java JDK: Java Installation

Section 3: TypeScript & NodeJS Fundamentals: Building Practical Skills for Beginners

Lecture 9 Kickstart Your Project: Initial Setup

Lecture 10 TypeScript Basics: A Simple Example & More!

Lecture 11 TypeScript vs. JavaScript: Simplified Comparison - (Part 1/2)

Lecture 12 TypeScript vs. JavaScript: Simplified Comparison - (Part 2/2)

Lecture 13 Quick Guide: Playwright with TypeScript & Node.js

Lecture 14 Node.js & TypeScript: Crafting Code with Precision

Lecture 15 Hands-On Node.js: Modules - (Part 1/2)

Lecture 16 Hands-On Node.js: Modules - (Part 2/2)

Lecture 17 Variables and Data Types – (Part 1/2)

Lecture 18 Variables and Data Types – (Part 2/2)

Lecture 19 Understanding Functions & Parameters

Lecture 20 Working with Conditions and Loops

Lecture 21 Diving Deeper into TypeScript

Lecture 22 Introduction to Asynchronous Programming

Lecture 23 Promises

Lecture 24 Async & Await

Lecture 25 Working with Node.js & npm

Section 4: Project Kick-off: Setup & Overview

Lecture 26 Get Playwright: Download & Setup

Lecture 27 Intro to Playwright

Lecture 28 Cucumber Install: Quick Setup

Lecture 29 VS Code Integration with Cucumber & More!

Section 5: Cucumber Kick-off: The Basics

Lecture 30 Cucumber vs. Gherkin: What’s the Difference?

Lecture 31 Start Strong: Creating a Positive Scenario - (Part 1/7)

Lecture 32 Build Up: Creating a Positive Scenario - (Part 2/7)

Lecture 33 Deep Dive: Creating a Positive Scenario - (Part 3/7)

Lecture 34 Enhance It: Creating a Positive Scenario - (Part 4/7)

Lecture 35 Hooks & Fixtures: Positive Scenario - (Part 5/7)

Lecture 36 Hooks & Fixtures: Positive Scenario - (Part 6/7)

Lecture 37 Final Touches: Creating a Positive Scenario - (Part 7/7)

Lecture 38 Design Challenges: Creating a Negative Scenario

Lecture 39 Quick Recap: Section Summary

Section 6: Cucumber Expressions: Handling Dynamic Data

Lecture 40 Cucumber Expressions: Scenario Creation

Lecture 41 Cucumber Expressions: Mapping Step Definitions

Lecture 42 Cucumber Expressions: Implementing Step Definitions

Section 7: Mastering Dynamic Data with Faker.js

Lecture 43 Faker.js Fundamentals: Generating Basic Data

Lecture 44 Advanced Faker.js: Custom Data Structures and Techniques

Section 8: Background & Scenario Outlines

Lecture 45 Scenario Outlines: Intro

Lecture 46 Scenario Outlines: Creation

Lecture 47 Scenario Outlines: Mapping & Implementing Steps – (Part 1/2)

Lecture 48 Scenario Outlines: Mapping & Implementing Steps – (Part 2/2)

Lecture 49 Background Keyword

Lecture 50 Background Keyword: In Action

Section 9: The Real-World Challenge

Lecture 51 Challenge: Overview

Lecture 52 Feature File: Creation

Lecture 53 Documenting Scenario Requirements

Lecture 54 Mapping & Implementing Step Definitions - (Part 1/2)

Lecture 55 Mapping & Implementing Step Definitions - (Part 2/2)

Lecture 56 Real World: Tips & Optimizations

Section 10: Tags, Custom Scripts & More!

Lecture 57 Understanding Tags: A Beginner’s Guide

Lecture 58 Index.ts: The Brains of Your Project - (Part 1/2)

Lecture 59 Index.ts: The Brains of Your Project - (Part 2/2)

Lecture 60 Tags in Action: Real-World Examples

Lecture 61 Ignoring Scenarios

Lecture 62 Quick Recap: Section Summary

Section 11: Reporting & More!

Lecture 63 Mastering Cucumber: JSON Reports

Lecture 64 Creating Stunning Cucumber: HTML Reports

Lecture 65 Enhance Your Reports with Screenshots

Lecture 66 Unlock the Power of Custom Scripts in Reporting

Section 12: Mastering Dynamic Browser Selection & Environment Variables

Lecture 67 Intro to Dynamic Browser Selection & Environment Variables - (Part 1/6)

Lecture 68 Configuring Dynamic Browsers - (Part 2/6)

Lecture 69 Advanced Browser Configuration - (Part 3/6)

Lecture 70 Robust Browser Initialization & Error Handling - (Part 4/6)

Lecture 71 Mastering Error Handling - (Part 5/6)

Lecture 72 Showcasing New Code Impact, Environment Variables & Code Refactoring -(Part 6/6)

Section 13: Advanced Concepts

Lecture 73 Custom Logger - (Part 1/3)

Lecture 74 Custom Logger - (Part 2/3)

Lecture 75 Custom Logger - In Action! - (Part 3/3)

Lecture 76 Handling Playwright Timeouts - (Part 1/3)

Lecture 77 Handling Playwright Timeouts - (Part 2/3)

Lecture 78 Handling Playwright Timeouts - (Part 3/3)

Lecture 79 Tackling Flaky Tests: A Deep Dive into Test Retries

Lecture 80 Parallelization: Running Tests in Parallel

Lecture 81 Cucumber World: Sharing Data Across Steps - Part (1/2)

Lecture 82 Cucumber World: Sharing Data Across Steps - Part (2/2)

Lecture 83 Page Object Modelling: Base Page & Page Manager - (Part 1/2)

Lecture 84 Page Object Modelling: Base Page & Page Manager - (Part 2/2)

Lecture 85 POM: Base Page - Why DRY is Important!

Lecture 86 POM : Sub Pages - (Part 1/5)

Lecture 87 POM : Sub Pages - (Part 2/5)

Lecture 88 POM : Sub Pages - (Part 3/5)

Lecture 89 POM : Sub Pages - (Part 4/5)

Lecture 90 POM : Sub Pages - (Part 5/5)

Lecture 91 POM: Challenge - Overview

Lecture 92 POM: Challenge - Solution - (Part 1/2)

Lecture 93 POM: Challenge - Solution - (Part 2/2)

Section 14: Jenkins (CI) & More!

Lecture 94 Jenkins: Download & Setup

Lecture 95 Configuring Jenkins

Lecture 96 Job Creation

Lecture 97 Targeting Custom Tags

Lecture 98 Cucumber Reports & More!

Lecture 99 Enhancing Logs & More!

Lecture 100 Browser: Selection

Lecture 101 Parallelization: Selection

Lecture 102 Retry Count (Flay Tests): Selection

Lecture 103 Handling Viewport Sizes

Students new to Automation Testing & Cucumber BDD (Behavior-driven Development).,Manual testers looking to enter the automation testing space.,Testers looking to create their first test automation framework.,SDETs and Automation Engineers transitioning from other frameworks to Playwright.,Testers aiming to quickly grasp Playwright best practices and framework capabilities.,Automation Testers wanting to build tests from scratch using Playwright & Cucumber BDD.,Automation Testers familiar with other tools wanting to integrate Playwright & Cucumber BDD into their framework(s).,Front-end developers interested in automation testing using a familiar language.,Intermediate and advanced students wanting to learn new concepts and techniques.,Beginners looking to learn Playwright efficiently.,Individuals already familiar with Playwright but wanting to integrate Cucumber BDD into their existing frameworks.,Anyone interested in automation testing and wanting to learn Playwright & Cucumber BDD.