Selenium MSTest Tutorial: Setup Selenium WebDriver For MSTest Framework In C#

1 Year Subscription

In the on-going ‘Selenium MSTest testing tutorial’ series, we earlier had a look at setting up the MSTest framework in Visual Studio. It was a getting started guide with a major focus on the installation of the Selenium MSTest framework and MSTest adapter for the project. In case you are starting up with the MSTest framework, we recommend that you check out the installation guide on MSTest Tutorial: Environment Setup For Selenium Testing.

In this Selenium MSTest testing tutorial, we take a look at setting up Selenium WebDriver with Visual Studio in C#. Before we install the Selenium WebDriver, we create a new project in C#.

Creating a New Project in C#

Before installing Selenium WebDriver, we create a new project in C# by following the below-mentioned steps:

  • 1. Open Visual Studio and create a new project of the type ‘MSTest Test Project (.Net Core).’
  • unnamed (2)

  • As the created project is of type MSTest Test Project (.Net Core), the default C# class comes along…


Continue reading on source link

Leave a Comment

Your email address will not be published. Required fields are marked *

24 + = 33