Visual Studio Community is a free full-featured IDE for  developers building apps across devices, desktops, and the cloud. The community edition includes all the capabilities needed for a student, open source contributor, or small team to create compelling applications – powerful productivity features, cross-platform mobile tools for Windows, iOS, and Android, as well as access to extensions.

Visual Studio Community supports Visual Basic, C#, and C++. This makes it suitable for a beginner as the software is free to download and install. Follow these simple steps below to install and setup Visual Studio Community.

In this tutorial, we will cover the following topics to set up Visual Studio for the Selenium Scripts:

  • Download Visual Studio Community
  • Install Visual Studio Community
  • Create a New Project in Visual Studio

Steps to Download Visual Studio Community

  1. You can download the software from the https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx.

Download_Visual_Studio_1

  1. Save the .exe file to your disk.

Download_Visual_Studio_2

Steps to Install Visual Studio Community

  1. Double click on the saved file to start the installation.

Download_Visual_Studio_3

  1. Click on the Run button.

Download_Visual_Studio_4

3) Click 'Install'. Be sure to read and agree to the License Terms and Privacy Policy.

Download_Visual_Studio_5

Note: Change the default location if you like to and let the 'Type of Installation' be default as Typical, unless you know what you are doing.

  1. Wait for the install to complete.

Download_Visual_Studio_6

Note: Installation would take around 10 to 15 mins.

  1. Click on Launch button to start the Visual Studio.

Download_Visual_Studio_7

Steps to Create a New Project

  1. Click on New Project.

CreateNewProject

2)  Select Visual C# from the left, then select Console Application from the middle. It will give the option to mention the Project name, location & solution name. Give the sensible name to the project, just for the sake of simplicity, enter ToolsQA and give the preferred location to the project. Click on OK button to proceed.

CreateNewProject_2

Note: Let the solution name be same as ToolsQA.

Now you will end up with the below screens on your machine.

CreateNewProject_3

In the next chapter, we will execute Selenium first test case and learn how to download and install selenium Dlls into the project.

Set Up Selenium WebDriver with Visual Studio in C#
Set Up Selenium WebDriver with Visual Studio in C#
Next Article
Lakshay Sharma
I’M LAKSHAY SHARMA AND I’M A FULL-STACK TEST AUTOMATION ENGINEER. Have passed 16 years playing with automation in mammoth projects like O2 (UK), Sprint (US), TD Bank (CA), Canadian Tire (CA), NHS (UK) & ASOS(UK). Currently, I am working with RABO Bank as a Chapter Lead QA. I am passionate about designing Automation Frameworks that follow OOPS concepts and Design patterns.
Reviewers
Virender Singh's Photo
Virender Singh

Similar Articles

Feedback