Scripting for Testers
2h 55mIntermediate2025-04-23
Authors

Dave Westerveld
Test Developer with many years of testing experience
Course details
Scripting can expand your abilities as a tester and help you keep up with the pace of agile. It allows you to more quickly and efficiently find software issues and automate manual tasks such as reporting and test site preparation. This course examines a few ways to use scripts to solve common challenges faced in the fast-paced world of software testing. Follow along and learn how to navigate and test APIs, generate reports, explore products with web automation tools, generate dummy data for testing, and more. The lessons rely on simple Python-based scripts as well as popular testing tools such as Playwright, and reporting tools like Google Sheets and Microsoft Excel. Instructor Dave Westerveld provides concrete examples and ideas to increase your productivity, eliminate boring tasks, build new insights into products, and standardize and simplify your team's work.
Learning objectives
Drive API calls with Playwright scripting.
Leverage API authentication.
Parse API data.
Work with images.
Learning objectives
Drive API calls with Playwright scripting.
Leverage API authentication.
Parse API data.
Work with images.
Skills covered
PythonLearningProgramming LanguagesOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - The power of scripting as a testing tool
- 02 - What you should know
- 03 - Setting up a testing application
1. Scripting API Interactions
- 04 - Exploring the API with Postman
- 05 - REST API calls in Python
- 06 - Authentication
- 07 - Setting up Visual Studio Code
- 08 - Finding an intermittent error
- 09 - Challenge - Find the API rate limit
- 10 - Solution - Find the API rate limit
- 11 - Generate fake input data
- 12 - Creating test data through API calls
- 13 - Using API calls to set up complex test scenarios
2. Scripting UI Interactions
- 14 - Getting started with Playwright
- 15 - Navigating with Playwright
- 16 - Automating test setup with Playwright
- 17 - Test scenario setup
- 18 - Challenge - Comparing multiple scenarios
- 19 - Solution - Comparing multiple scenarios
3. Web Scraping
- 20 - Getting started with web scraping
- 21 - Use web scraping to analyze your site
- 22 - Checking filters with web scraping
- 23 - Use web scraping to generate test data
- 24 - Challenge - Validate booking page
- 25 - Solution - Validate booking page
4. Working with Images
- 26 - Taking a snapshot of your site
- 27 - Verifying images in a snapshot
- 28 - Emulating different devices
- 29 - Create image diff (difference) tools
- 30 - Comparing images
- 31 - Generating test images
- 32 - Find a subimage in an image
- 33 - Challenge - Cross browser data validation
- 34 - Solution - Cross browser data validation
Conclusion
- 35 - Bring scripting to your day-to-day