Test from TFS Doesn't Run

PROBLEM

A scheduled test list with Get Latest from TFS enabled does not run.

SOLUTION

  • If the execution machine does not have the necessary TFS components installed, Test Studio cannot log on to TFS to check out the test project. If this is the problem, the following error will appear in the Execution Server application log:

Could not load file or assembly 'Microsoft.TeamFoundation.Client'

In this case you should install Team Explorer on the execution machine.

To resolve this behavior, ensure that Team Foundation Client is installed on the Scheduling Server and Execution Server machines.

  • This behavior may also be caused by the Execution Server using a service account that cannot log on to the TFS repository. Ensure that the Execution Server is setup with the correct service account.