.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
- Go to the .NET download page.
- Download and install the latest .NET SDK version for your operating system.
- Open a new terminal and run the following command to verify the installation:shell
dotnet --version
Setup a new .NET Test Project
- Open the terminal and navigate to the directory where you want to create your project.
- Create a new MSTest project by running:shell
dotnet new mstest -n MyTestProject - Navigate into the project directory:shell
cd MyTestProject - 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.