The test agent is either not running or not properly configured on the machine. Click Repair/Install Agents'. Alternatively, ...

The test agent is either not running or not properly configured on the machine. Click ‘Repair/Install Agents'. Alternatively, use the Environment Viewer to connect to the machine and view any errors logged in the Event Viewer. Confirm that the Visual Studio test agent is installed, and then run the Test Agent Configuration tool.