Now the Code window of the project should look like this:
![specflow visual studio 2019 specflow visual studio 2019](https://www.naveenbhati.com/static/d21a15cbab35f4573f4b98989ccd7b20/99686/15.png)
Steps to Write the First Selenium C Sharp Test Now that we have the Selenium DLLs referenced in our project it time to test the configuration by running a quick test. Once Visual Studio is finished with the successful installation of the Selenium WebDriver, it will generate the output logs.
#SPECFLOW VISUAL STUDIO 2019 INSTALL#
Once done, just select Selenium.WebDriver and click on Install to start the installation process. This will take a few seconds to populate the Selenium. In the Seach Box, search for Selenium.WebDriver or Selenium.Note: The above screenshot is wrongly taken, please select Nuget Package Manager > Manage Nuget Packages for Solution. Go to Tools > Nuget Package Manager > Manage Nuget Packages for Solution.The new name will start reflecting everywhere in the project or code window.Notice that the text Program.cs is selected by default, now just type the new test case name 'FirstTestCase'.
![specflow visual studio 2019 specflow visual studio 2019](http://gasparnagy.com/wp-content/uploads/2017/04/SpecFlow-codebehind-files-600x394.png)
Right Click on the Program.cs and Select Rename. In the Solution Explorer window, which is on the right side of the Visual Studio in the above image.As of now, the name of the test case is Program, let's just change this to something more meaningful, like FirstTestCase. In this chapter we will learn to Set Up Selenium WebDriver with Visual Studio in C# which cover the following topics:īefore moving on, let's just first change the name of the test case, which got created by default by the Visual Studio at the time of the Project Creation.