Install and configure test agents

Last Update: 4/7/2017

Visual Studio 2017 | Visual Studio 2015 | Team Services | Previous version

For test scenarios using Visual Studio and Visual Studio Team Services or Team Foundation Server (TFS), you won't need a test controller because Agents for Microsoft Visual Studio handle orchestration by communicating with Team Services or TFS. For example, you're running continuous tests with your build and release workflows in Team Services or TFS.

If you need your test agent or test controller to work with TFS 2013, use Agents for Microsoft Visual Studio 2013 Update 5 and configure the test controller.

Also consider if it would be easier to use Build or Release Management instead.

What do I need?

Where do I get the test controller and test agents?

These installers are available as ISO files (virtual CD) for easy installation on virtual machines.

Can I mix versions of TFS, Microsoft Test Manager, the test controller, and test agent?

What system requirements do I need to install my test controller and test agents?

Agent

  • Windows 10

  • Windows 8, Windows 8.1

  • Windows 7 Service Pack 1

  • Windows XP Service Pack 3

  • Windows Server 2012, Windows Server 2012 R2

  • Windows Server 2008 Release 2, Service Pack 1

Controller

  • Windows 10

  • Windows 8, Windows 8.1

  • Windows 7 Service Pack 1

  • Windows Server 2012, Windows Server 2012 R2

  • Windows Server 2008 Release 2, Service Pack 1

.NET Framework

.NET Framework 4.5

Tasks

For test scenarios using Visual Studio and Visual Studio Team Services or Team Foundation Server (TFS):

  1. Create environments from physical or virtual machines that you've already set up.

  2. Set up your build to run your app and tests in the environments that you created.

  3. After your build finishes, review your test results to start resolving problems that you found.

Q & A

Q: Can I mix versions of TFS, Microsoft Test Manager, the test controller, and test agent?

A: Yes, here are the compatible and supported combinations:

TFS

Microsoft Test Manager, with Lab Center

Controller

Agent

2015: upgrade from 2013

2013

2013

2013

2015: new install

2013

2013

2013

2015: upgrade from 2013 or new install

2015

2013

2013

2013

2015

2013

2013

Q: Will the Test Agent 2015 support all the scenarios supported by Test Controller and Test Agent of Visual Studio 2013?

A: We recommend you use Agents for Visual Studio in all the new automated testing scenarios. You can use the Deploy Test Agents task in a build definition to download and install the test agents on your machine. The following table shows the scenarios supported by Agents for Visual Studio 2013 and the alternatives for Team Foundation Server (TFS) 2015 and Team Services (TS).

Scenarios supported by Agents for Visual Studio 2013

Alternative in TFS and TS

Build-Deploy-Test workflow in Visual Studio

Users can use a build definition (not a XAML build) for build, deploy, and test scenarios in TFS.

Load testing (performance testing) using on-premises remote machines

Use Test Controller/Test Agents 2013 Update 5 to run load tests on-premises. More information.

Remote execution of automated tests from Microsoft Test Manager using a lab environment

Currently there is no alternative for this scenario. We recommend you use the Run Functional Tests task in build and release definitions (not in a XAML build) to execute tests remotely.

Developers executing remote tests in Visual Studio

No longer supported.

See also

Help and support

Submit bugs through Connect, make suggestions on Uservoice, and send quick thoughts using the Send-a-Smile icon link in the Visual Studio, Team Services, or TFS title bar. We look forward to your feedback.