From the course: Scripting for Testers

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Challenge: Comparing multiple scenarios

Challenge: Comparing multiple scenarios - Python Tutorial

From the course: Scripting for Testers

Challenge: Comparing multiple scenarios

(light music) - [Instructor] It is that time again, time to get some hands-on learning. I'll keep repeating myself. You learn best when you try things out on your own. For this challenge, I want you to try and use Playwright to help you compare a few different testing scenarios. What do I mean by that? Well, here are a few scenarios that we could consider for this application. We could consider a new gig request comes in and is booked. In this case, the gig is for a new client that we've never worked with before, and it's at a new venue that we've never performed at before. In order to add it into the system, we'll first create a new client and a new venue and then add a gig scheduled at the venue. Another scenario that we might consider is a new gig request that comes in for a new client, but at a venue that we have used before. In this case, we will need to add a new client and then we can create a new gig with that client while selecting the existing venue from the list. A third…

Contents