Oswren
Oswren

Reputation: 1

TFS/VSTS/Azure Devops - Cannot run tests from test plan using associated automation

After setting up the release definition with tasks exactly like those in this document:

https://learn.microsoft.com/en-us/azure/devops/test/run-automated-tests-from-test-hub?view=azure-devops

I am continuing to get the error:

Selected environment does not have the right version or settings of the Visual Studio Test task to run tests.

My current configuration can be seen below.

Link to screenshot of VsTest task.

Link to screenshot of VsTest task.

Has anyone experienced this problem before? If so, how can I resolve it?

Upvotes: 0

Views: 303

Answers (1)

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31003

Make sure you have installed Visual Studio on the agent computer, otherwise you must add the Visual Studio Test Platform Installer task to the pipeline definition.

Upvotes: 1

Related Questions