11-24-2024, 01:51 PM
Playwright & Cucumber Bdd With Java: Novice To Pro
Published 10/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 8.03 GB | Duration: 13h 41m
Master automated UI testing with Playwright, Cucumber BDD, and Java
What you'll learn
Master Java & Maven 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 Java (Programming) knowledge would be beneficial. A Java 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 9 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, Cucumber, and Java: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 Java & Maven to enhance your testing capabilities.Understand the fundamentals of Java and how it integrates with Playwright.Manage project dependencies and build automation effectively using Maven.Utilize Playwright for browser 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!Ready to automate your tests like a pro!
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 Java JDK: Java Installation
Lecture 6 Maven: Maven Installation
Lecture 7 Git Bash: Installing Git Bash
Lecture 8 IntelliJ IDE: Installing IntelliJ
Section 3: Java & Maven Fundamentals: Kickstart Your Coding Journey
Lecture 9 Kickstart Your Project: Initial Setup with IntelliJ
Lecture 10 Java Basics: Dive into Your First Program
Lecture 11 Mastering Variables and Data Types - (Part 1/2)
Lecture 12 Mastering Variables and Data Types - (Part 2/2)
Lecture 13 Cracking the Code: Methods & Parameters Explained
Lecture 14 Control Flow in Java: Conditions and Loops - (Part 1/2)
Lecture 15 Control Flow in Java: Conditions and Loops - (Part 2/2)
Lecture 16 Hands-On Java: Building Classes and Objects - (Part 1/2)
Lecture 17 Hands-On Java: Building Classes and Objects - (Part 2/2)
Lecture 18 Maven Made Easy: Streamline Your Java Projects & More!
Lecture 19 Debugging 101: Fixing Your Java Code in IntelliJ
Lecture 20 Create and Innovate: Simple Java Projects
Lecture 21 File I/O in Java: Basics and Beyond - (Part 1/2)
Lecture 22 File I/O in Java: Basics and Beyond - (Part 2/2)
Lecture 23 Handling Errors: Java Exceptions Demystified
Lecture 24 Unlocking Java Libraries: Enhance Your Code - (Part 1/2)
Lecture 25 Unlocking Java Libraries: Enhance Your Code - (Part 2/2)
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 Cucumber Integration with IntelliJ: Setup & Guide
Lecture 30 Organizing Your Cucumber Project: Essential Folder Structure
Section 5: Cucumber Kick-off: The Basics
Lecture 31 Cucumber vs. Gherkin: Unravelling the Mystery
Lecture 32 Crafting Clear Requirements: Positive Scenario Mastery
Lecture 33 Runner Class Essentials: Building the Foundation
Lecture 34 Creating a Positive Scenario - Part 1/8: Step Templates Unleashed
Lecture 35 Creating a Positive Scenario - Part 2/8: Homepage Steps in Action
Lecture 36 Creating a Positive Scenario - Part 3/8: Locator Strategies & More!
Lecture 37 Creating a Positive Scenario - Part 4/8: Navigating Browser Tabs and Challenges
Lecture 38 Browser Manager, Hooks & More! - Part 5/8: Setup and Teardown Magic
Lecture 39 Browser Manager, Hooks & More! - Part 6/8: Mastering Cucumber Hooks
Lecture 40 Browser Manager, Hooks & More! - Part 7/8: Integrating Browser Manager
Lecture 41 Final Touches: Perfecting Your Positive Scenario - Part 8/8
Lecture 42 Design Challenges: Crafting a Negative Scenario
Lecture 43 Quick Recap: Your Path to Mastery
Section 6: Cucumber Expressions: Handling Dynamic Data
Lecture 44 Cucumber Expressions: Scenario Creation
Lecture 45 Cucumber Expressions: Mapping Step Definitions
Lecture 46 Cucumber Expressions: Implementing Step Definitions
Section 7: Creating Realistic Test Data: Faker
Lecture 47 Faker Fundamentals: Setting Up Faker
Lecture 48 Advanced Faker: Custom Data Structures and Techniques
Section 8: Background & Scenario Outlines
Lecture 49 Scenario Outlines: Intro
Lecture 50 Scenario Outlines: Creation
Lecture 51 Scenario Outlines: Mapping & Implementing Steps - (Part 1/2)
Lecture 52 Scenario Outlines: Mapping & Implementing Steps - (Part 2/2)
Lecture 53 Background Keyword
Lecture 54 Background Keyword - In Action
Section 9: The Real-World Challenge
Lecture 55 Challenge: Overview
Lecture 56 Feature File: Creation
Lecture 57 Documenting Scenario Requirements
Lecture 58 Mapping & Implementing Step Definitions - (Part 1/2)
Lecture 59 Mapping & Implementing Step Definitions - (Part 2/2)
Section 10: Tags & Organising Test Suites
Lecture 60 Understanding Tags: A Beginner's Guide
Lecture 61 Tags in Action - Real-World Examples
Lecture 62 Ignoring Scenarios
Section 11: Reporting & More!
Lecture 63 Mastering Cucumber: JSON Reports
Lecture 64 Creating Stunning Cucumber: HTML Reports
Lecture 65 Enhance Your Reports with Screenshots
Section 12: Mastering Dynamic Browser Selection & More!
Lecture 66 Dynamic Browser Selection: The Essentials - (Part 1/2)
Lecture 67 Dynamic Browser Selection: Advanced Techniques - (Part 2/2)
Lecture 68 Section Recap: Key Takeaways and Insights
Section 13: Advanced Concepts
Lecture 69 Mastering Parallel Testing: ThreadLocal Magic - (Part 1/6)
Lecture 70 Switching Gears: Advanced ThreadLocal Techniques - (Part 2/6)
Lecture 71 Streamlining Steps: Integrating ThreadLocal Logic - (Part 3/6)
Lecture 72 Dynamic Thread Management: Configuring Thread Count - (Part 4/6)
Lecture 73 Turbocharging Test Execution: TestNG Integration - (Part 5/6)
Lecture 74 Final Touches: Perfecting Parallel Execution with TestNG - (Part 6/6)
Lecture 75 Precision Timing: Mastering Playwright Timeouts
Lecture 76 ThreadLocal Essentials: Managing Data Across Steps - (Part 1/2)
Lecture 77 Advanced ThreadLocal Techniques: Ensuring Seamless Data Sharing - (Part 2/2)
Lecture 78 Mastering Page Object Modelling: Building Your Base Page - (Part 1/2)
Lecture 79 Mastering Page Object Modelling: Leveraging Your Base Page - (Part 2/2)
Lecture 80 Mastering POM: Building a Dynamic HomePage - (Part 1/6)
Lecture 81 Mastering POM: HomePage in Action - (Part 2/6)
Lecture 82 Mastering POM: Crafting a Powerful ContactUsPage - (Part 3/6)
Lecture 83 Mastering POM: Enhancing Your ContactUsPage - (Part 4/6)
Lecture 84 Mastering POM: Utilizing ContactUsPage in Steps - (Part 5/6)
Lecture 85 Mastering POM: Finalizing ContactUsSteps - (Part 6/6)
Lecture 86 POM - Challenge - Overview
Lecture 87 POM - Challenge - Solution - (Part 1/2)
Lecture 88 POM - Challenge - Solution - (Part 2/2)
Section 14: Jenkins (CI) & More!
Lecture 89 Jenkins: Download & Setup
Lecture 90 Configuring Jenkins
Lecture 91 Job Creation
Lecture 92 Targeting Custom Tags
Lecture 93 Parallelization: Selection
Lecture 94 Cucumber Reports & More!
Lecture 95 Browser: Selection
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.