Playwright Python and Pytest for web automation testing

What You Will Learn Write Python scripts to launch browsers and automate tasks performed Locate web elements using various methods and perform actions on web elements Log in to websites and authenticate yourself using your accounts Write a script to automate inbox mail checking for new emails and re...

Full description

Bibliographic Details
Format: eBook
Language:English
Published: [Place of publication not identified] Packt Publishing 2023
Edition:[First edition]
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Description
Summary:What You Will Learn Write Python scripts to launch browsers and automate tasks performed Locate web elements using various methods and perform actions on web elements Log in to websites and authenticate yourself using your accounts Write a script to automate inbox mail checking for new emails and reporting Deploy automated tests using GitHub CI Practice behavior-driven development with Playwright and Python Behave Audience This course caters to a diverse audience, primarily targeting beginner Python developers who are keen to explore the world of web automation testing. If you are just starting your journey in Python and aspire to master web automation, this course offers a solid foundation. Additionally, automation testers looking to broaden their skill set, specifically in Playwright, will find this course invaluable. No prior knowledge is necessary, making it an accessible starting point for anyone interested in web automation and testing.
A basic understanding of Python and HTML is recommended. About The Author Rahul Mula: Rahul Mula is a passionate developer with expertise in Python, Flutter, and web development. He was really intrigued the first time he learned about programming and realized what could be done with it. Rahul thrives on exploring diverse technologies and crafting innovative applications. He's the mastermind behind Keyviz, a remarkable open-source tool for real-time keystroke visualization. Rahul's contributions extend to the realm of education, where he has authored books and crafted courses on Python programming, benefiting thousands of eager learners
Next, you will discover optimization techniques such as parallelism, and understand how to deploy your automated tests seamlessly into your CI pipeline. Parameterize your tests with predefined test data for versatility and efficiency, and embrace the principles of behavior-driven development with Python Behave. By the course's end, you will have the skills and knowledge to craft automated tests that deliver speed, reliability, and robustness using Playwright and Pytest.
Playwright is a cutting-edge browser automation tool that empowers you to test and automate seamlessly. Pair this with Pytest, a versatile Python testing framework, and you will unlock a whole new level of testing prowess. In this course, you go through the integration of Playwright's capabilities into the Pytest framework, leveraging the power of the pytest-playwright plugin. Starting with the fundamentals of testing using Pytest, dive into the pytest-playwright plugin and explore a range of Playwright tools. Learn to use web-first assertions with expect(), conquer modern testing challenges in the UI Testing Playground, and gain mastery over Playwright fixtures, custom setup/teardown routines, and test hooks. Implement the Page Object Model for organized testing, handle network events seamlessly, and delve into REST API testing, authentication, and API request context.
Item Description:"Updated September 2023."
Physical Description:1 video file (10 hr., 8 min.) sound, color
ISBN:9781835465011