Skip to content

.NET Tips ​

This guide provides instructions on how to install the .NET SDK, create a new test project, and run it.

Install the .NET SDK ​

  1. Go to the .NET download page.
  2. Download and install the latest .NET SDK version for your operating system.
  3. Open a new terminal and run the following command to verify the installation:
    shell
    dotnet --version

Setup a new .NET Test Project ​

  1. Open the terminal and navigate to the directory where you want to create your project.
  2. Create a new MSTest project by running:
    shell
    dotnet new mstest -n MyTestProject
  3. Navigate into the project directory:
    shell
    cd MyTestProject
  4. Add the Appium.WebDriver package to your project:
    shell
    dotnet add package Appium.WebDriver

Now you are ready to add your test code and run your tests.