Set up and run functional tests

Completed

Estimated time: 60 minutes.

Scenario

Selenium is a portable open source software-testing framework for web applications. It can operate on almost every operating system. It supports all modern browsers and multiple languages, including .NET (C#) and Java.

This lab will teach you how to execute Selenium test cases on a C# web application as part of the Azure DevOps Release pipeline.

Objectives

After completing this lab, you'll be able to:

  • Configure a self-hosted Azure DevOps agent.
  • Configure the release pipeline.
  • Trigger build and release.
  • Run tests in Chrome and Firefox.

Requirements

Exercises

During this lab, you'll complete the following exercises:

  • Exercise 0: Configure the lab prerequisites.
  • Exercise 1: Implement Selenium tests by using a self-hosted Azure DevOps agent.
  • Exercise 2: Remove the Azure lab resources.

Screenshot of a launch button, which will take you to the lab.