Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Playwright Python - Data Driven Testing with CSV and JSON Files

Automation Step by Step via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn data-driven testing techniques in Playwright Python through this comprehensive 20-minute tutorial. Master the fundamentals of parameterizing tests by replacing hard-coded values with variables and utilizing the @pytest.mark.parametrize() fixture. Discover how to extract test data from external sources including CSV and JSON files to create more maintainable and scalable test suites. Follow along with practical demonstrations that guide you through creating a simple test, parameterizing it with variables, and then progressively implementing data retrieval from both CSV and JSON file formats. Explore complete code examples including functions for reading CSV data using Python's csv.DictReader and parsing JSON data with the json.load() method. Gain hands-on experience with file handling, data structure manipulation, and pytest parameterization techniques essential for building robust automated testing frameworks with Playwright Python.

Syllabus

Playwright Python 10 | Data Driven Testing

Taught by

Automation Step by Step

Reviews

Start your review of Playwright Python - Data Driven Testing with CSV and JSON Files

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.