Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Playwright: Design Patterns

Playwright: Design Patterns

1h 22mIntermediate2024-11-25

Authors

Qambar Raza

Qambar Raza

Course details

In this course, learn how to leverage design patterns to enhance your test automation framework using Playwright. By understanding and implementing patterns such as the Page Object Model, fixtures, and data-driven testing, you'll be able to write cleaner, more maintainable, and scalable test scripts. This course is designed for test automation engineers and developers who want to improve their testing skills and ensure their tests are robust and easy to maintain. Through practical examples and hands-on exercises, gain the knowledge and skills needed to apply these design patterns effectively in your projects.

Learning objectives
Define and implement the Page Object Model to organize and maintain test scripts.
Utilize fixtures to manage setup and teardown processes efficiently.
Apply data-driven testing to improve test coverage and reusability.
Integrate design patterns to create scalable and maintainable test automation frameworks.
Master best practices for using Playwright in combination with these design patterns.

Skills covered

Software Design PatternsSoftware TestingMicrosoftSoftware DevelopmentDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Explore design patterns in Playwright
  • 02 - Setting up your local environment

1. Design Patterns

  • 03 - What is a design pattern
  • 04 - Types of design pattern

2. Fixtures

  • 05 - Introduction to fixtures
  • 06 - What are Playwright fixtures
  • 07 - Setting up fixtures in Playwright
  • 08 - Creating custom fixtures
  • 09 - Automatic fixtures
  • 10 - Fixture scope and isolation
  • 11 - Fixture best practices

3. Page Object Model

  • 12 - What is a page object model
  • 13 - Creating a basic page object model
  • 14 - Implementing the page object model in tests
  • 15 - Combining page object model with fixtures
  • 16 - Creating reusable and maintainable page object models
  • 17 - Best practices for page object models

4. Behavior Driven Development (BDD)

  • 18 - Introduction to behavior driven development (BDD)
  • 19 - Writing BDD scenarios using Cucumber
  • 20 - Setting up Cucumber in your project
  • 21 - Writing your first step definition
  • 22 - Centralizing setup and running a BDD test
  • 23 - Combining BDD with page object model

5. Data-Driven Testing

  • 24 - Introduction to data-driven testing
  • 25 - Setting up data for data-driven testing
  • 26 - Implementing data-driven testing in Playwright

Conclusion

  • 27 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal