Playwright Python Automation Testing - From Zero To Expert
Published 12/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 6.81 GB | Duration: 11h 11m
Published 12/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 6.81 GB | Duration: 11h 11m
Practical approach to learn Python and Playwright for (Web/API) Automation from scratch with Pytest BDD Framework
What you'll learn
Strong foundation at Python programming basics with practice exercises and assignments
In depth understand of Playwright Web Automation with real time examples
Get familiar with API Testing and Network Interception using Playwright
Understand visual testing, mobile device emulation & test execution in CI/CD Docker container
Thorough understanding on Python Pytest framework capabilities from Scratch
Get Familiar with Playwright Inspector tool, Trace Viewer & Code Gen (Record Playback) tools
End to end Industry Standard Framework design using Pytest and BDD concepts
Requirements
No Programming experience required. Everything has taken care in the lectures including Python basics
Description
Welcome to the comprehensive Playwright Python course that covers everything from the basics to frameworks, including Python & Pytest fundamentals without need of any prior Python experience.Combining Playwright with Python unlocks powerful capabilities that can drive innovation in test automation frameworks. Let me walk you through why this combination stands out:Why Python? Python is not only one of the most versatile programming languages, but it’s also the backbone of Machine Learning (AI) development. Its extensive frameworks for AI integration make it a natural choice for building automation frameworks that leverage AI-driven capabilities.Why Playwright? Playwright has been growing exponentially boasting a 750% increase in usage every year. Known for its speed, reliability, and ability to automate both UI and API applications, it’s quickly becoming a top competitor to Selenium in the test automation space.Bringing Playwright and Python together enables you to craft a robust, future-ready test automation framework with AI capabilities of handling even the most complex web and API-based applications.In this course, you’ll systematically learn:Python essentialsPlaywright automation with PythonPytest frameworksBehavior-driven development (Pytest BDD)Whether you’re just starting out or looking to expand your skillset, this course is designed with no prerequisites—everything is covered step by step to ensure a seamless learning experience.Imagine the boost this combination can bring to your resume in the evolving test automation era!I can’t wait to see you in the course and help you unlock new opportunities in your career.Note : For Beginners, there is 3 hours Python video in the beginning of this course which covers all Python basics from Scratch including coding Assignments and quizzes which prepares candidates for Interviews.Course Structure Breakdown: Python/Pytest Basics for Beginners (3 hrs) - Build a solid JavaScript foundation for confident Playwright exploration.Playwright Web/UI Automation (50%) - Master core Playwright concepts for comprehensive UI automation.Mixed Web & API Testing with Network Mocking (25%) - Expand your skills by combining UI and API testing with network mocking capabilities.Playwright Advanced Framework Features (25%) - Dive deep into advanced Playwright frameworks for optimal test design.In conclusion, this course is a one-stop shop for you to become a Playwright hero and take charge of modern, full end-to-end test automation.Become a Playwright hero and embrace the future of end-to-end test automation. Enroll today!
Overview
Section 1: Introduction
Lecture 1 What is Playwright and why choose Python as library?
Lecture 2 How course curriculum is designed from Scratch –(Must watch)
Section 2: Setting up Python & Playwright & Pycharm in Windows & Mac
Lecture 3 Install and set the path of Python in windows OS
Lecture 4 Install and set the path of Python in MAC OS
Lecture 5 What is PIP? Install Playwright and set it up in Pycharm IDE
Section 3: Learn Python basics from scratch with examples
Lecture 6 Download code
Lecture 7 Python hello world Program with Basics
Lecture 8 Datatypes in python and how to get the Type at run time
Lecture 9 List Datatype and its operations to manipulate
Lecture 10 Tuple and Dictionary Data types in Python with examples
Lecture 11 How to Create Dictionaries at run time and add data into it
Lecture 12 If else condition in python with working examples
Lecture 13 How loops work in Python and importance of code idendation
Lecture 14 Programming examples using for loop - 1
Lecture 15 Programming examples using While loop - 2
Lecture 16 What are functions? How to use them in Python
Lecture 17 OOPS Principles : Classes and objects in Python
Lecture 18 What is Constructor and its role in Object oriented programming
Lecture 19 Inheritance concepts with examples in Python
Lecture 20 Strings and its functions in python
Lecture 21 How to read text file content using Python
Lecture 22 Importance of readLine and readLines Methods in python
Lecture 23 Writing Data into File using Python
Section 4: Learn Pytest Framework basics from Scratch
Lecture 24 Download complete Playwright course code as zip file
Lecture 25 What are pytest fixtures and how it help in enhancing tests
Lecture 26 Understand scopes in Pytest fixtures with examples
Lecture 27 Setup and teardown setup using Python fixtures with yield keyword
Lecture 28 Run Pytest Tests from terminal with commands and options
Section 5: Getting Started with Playwright Automation Testing - Real time examples
Lecture 29 Understand launching the Chromium Engine browser with Playwright fixture
Lecture 30 Understand how Page and playwright fixtures work with references
Lecture 31 Identify web components using getLabel and get_by_role methods in playwright
Lecture 32 Limitations on get_by_Label. Understand in which cases it works
Section 6: Deep Dive into Playwright UI Methods with real time examples
Lecture 33 How Autowait works in Playwright to handle wait mechanisms
Lecture 34 How to run tests in firefox browser with Playwright - example
Lecture 35 Understand how filter works on dynamic selection of card items from the list
Lecture 36 How to handle child windows and tabs with playwright - example
Lecture 37 Apply Python string methods to retrieve the values with assertion checks
Section 7: UI Functional validations with assertions using Playwright python
Lecture 38 Invisible, visible inbuilt assertions with Playwright python
Lecture 39 How to handle Alerts, popups using Playwright python - Example
Lecture 40 What are Frames? How to handle them with Playwright
Lecture 41 Prepare strategy to handle web tables automation with an example
Lecture 42 End to end example on handling tables, hover methods in playwright
Lecture 43 Record and play back the tests in playwright with codegen tool
Section 8: Learn API Testing using Playwright with Hybrid e2e example of (Web & API)
Lecture 44 Introduction to ecommerce domain and scenarios to automate
Lecture 45 Understand API's used and their details from developer tools of browser
Lecture 46 Build API Utils from Scratch starting with how to make a Post calls
Lecture 47 How to assert API responses and status codes with Playwright code
Lecture 48 Refactor API Utils methods and call them from Tests in generating data
Lecture 49 Dynamically find the order Id from the order History table with easy logic
Section 9: Intercepting Network requests & responses to test Edge cases with Playwright
Lecture 50 What is the concept of intercepting network. understand from example
Lecture 51 Intercepting response calls with route->fulfil methods to test edge cases
Lecture 52 Intercepting request calls with route->continue methods to test edge cases
Lecture 53 save and inject the session cookies into browser at run time with playwright
Section 10: Playwright Pytest Framework- Part 1 (Pageobject, Data Driven,Parameterization)
Lecture 54 overview of the Best practices for Playwright framework design
Lecture 55 Drive the test data externally from Json files into Playwright fixtures
Lecture 56 Parameterize the Test with multiple data sets with python dictionaries
Lecture 57 Understand the page object design pattern and how to apply for the tests
Lecture 58 Implement Page object design to end to end test - example
Lecture 59 Optimize Test by avoiding object creation in tests and move into PO classes
Section 11: Playwright Pytest Framework- Part 2 (Global config, Parallelization, Tagging)
Lecture 60 How to configure and drive global run time variables into Playwright framework
Lecture 61 Understand how browser value is decided at run time with global value and ifelse
Lecture 62 Running selected tests in the framework with pytest tag annotations
Lecture 63 Running tests in playwright framework in parallel and sequence modes
Lecture 64 Generae HTML reports with pytest plugin for tests in framework
Lecture 65 Playwright Trace viewer - to generate logs, screenshots of the tests in zip file
Section 12: Playwright Pytest Framework- Part 3 (Cucumber BDD, CI/CD Jenkins, HTML report)
Lecture 66 Introduction to BDD framework and how Pytest framework compliment it
Lecture 67 Install pytest plugin and build gherkin feature file for test implemetation
Lecture 68 Implement Pytest Step definition implementation for the feature file
Lecture 69 How to share data across multiple step methods with in step definition file
Lecture 70 Fix the issues and Run the Pytest BDD tests end to end from terminal
Lecture 71 Set up the Jenkins with required configurations from scratch
Lecture 72 Create Jenkin parameterized Job to run Playwright Python Framework
Lecture 73 Schedule CI/CD Jenkins job to auto trigger based on reg ex expression
Section 13: Course repo download & Bonus Lecture
Lecture 74 Code download
Lecture 75 Bonus Lecture - Next steps
Software Testers,Quality assurance,Automation testers,Python developers,SDET