Перейти к содержимому

Episode 5: Write Your First Playwright Test in C# with NUnit | Beginner Tutorial | Codecaf

Codecaf

0:00 / 0:00

Episode 5: Write Your First Playwright Test in C# with NUnit | Beginner Tutorial | Codecaf

28 просмотров · 4 нед. назад
Codecaf
3 подписчика
28 просмотров · 4 нед. назад
In this video, I continue the Visual Studio 2026 setup series. This is Part 5, where we create and understand our first Playwright test using C# and NUnit. This tutorial is designed for beginners who are new to Playwright. We’ll walk through the basic code step by step and explain how Playwright interacts with a browser and how NUnit verifies the test result. *What you'll learn:* Understand the roles of C#, NUnit, and Playwright Create a basic Playwright test using NUnit Launch a Chromium browser Open a website using `GotoAsync()` Understand `IPlaywright`, `IBrowser`, and `IPage` Verify a webpage title using an NUnit assertion Run the test and review the results in Visual Studio Test Explorer You don't need prior Playwright experience to follow along. This episode builds on the setup and test execution covered in the previous videos. *Previous episodes:* Episode 1: Install Visual Studio 2026 — Free Community Edition Setup    • Episode 1: Install Visual Studio 2026 : Fr...   Episode 2: Install Visual Studio Workloads for NUnit & Playwright    • Episode 2: Install Workloads for NUnit & P...   Episode 3: Install Playwright Browsers Using PowerShell    • Episode 3: Install Playwright Browsers wit...   Episode 4: Run Your First Test Using the Terminal and Test Explorer:    • Episode 4: Run Your First Playwright Test ...   *Learn more:* Why Playwright Is the Future of QA Automation https://codecaf.com/why-playwright-is... More free tools, interview questions, and career help for developers: https://codecaf.com If this video helped, like the video and subscribe to Codecaf for more beginner-friendly coding and test automation tutorials. #Playwright #CSharp #NUnit #VisualStudio2026 #TestAutomation #DotNet #QAautomation #Codecaf