Install TestLeft Package via NuGet

Applies to TestLeft 15.40, last modified on March 17, 2022

NuGet is a tool for creating, delivering and sharing reusable code (packages) for .NET. You can use it to install packages to your Visual Studio projects.

The SmartBear.TestLeft package that provides TestLeft API is available in the NuGet Gallery (the NuGet public package repository):

nuget.org/packages/SmartBear.TestLeft

You can install it to your Visual Studio projects by using the NuGet Package Manager UI and Package Manager Console.

To explore applications by using TestLeft UI Spy and to run tests, you must have TestLeft installed on your computer.

Via NuGet Package Manager

  1. In Visual Studio, open your test project.

  2. In the Solution Explorer, right-click the Reference collection of your project, and then click Manage NuGet Packages.

  3. In the NuGet Package Manager, click Browse.

  4. Make sure the package source is nuget.org.

  5. In the Search box, type TestLeft.

  6. In the search results, select the SmartBear.TestLeft package and click Install.

Installing TestLeft package via NuGet Package Manager

Click the image to enlarge it.

The package will be added to your project.

Via Package Manager Console

  1. In Visual Studio, open your test project.

  2. Select Tools > NuGet Package Manager > Package Manager Console from the Visual Studio main menu.

  3. In the Package Manager Console, make sure the package source is nuget.org and the default project is the one to which you want to add the TestLeft package.

  4. To install the latest version of the package, type the following:

    Install-Package SmartBear.TestLeft

    To install a specific version of the package:

    Install-Package SmartBear.TestLeft -Version N.N.NNN.NN

    Where N.N.NNN.NN is the needed version. You can view all the available versions on the TestLeft page in the NuGet Gallery.

Installing TestLeft package via NuGet Package Manager Console

Click the image to enlarge it.

The package will be added to your project.

Now, you can access the TestLeft API via the SmartBear.TestLeft namespace. To learn how to create tests by using the TestLeft API, see Creating TestLeft Tests.

See Also

Introducing TestLeft
System Requirements
Creating TestLeft Tests

Highlight search results