Forum Discussion

dpeterson's avatar
dpeterson
Occasional Contributor
11 years ago

Automating Repository Update

We are using TFS as a source code repository for TestComplete. We have several virtual machines allocated specifically for executing automated tests. The test automation project is still fairly young,...
  • todd_james's avatar
    11 years ago
    Until we figure out a long term solution at our company, we have a scheduled batch job that gets the latest from TFS every morning on our test machines. This does require use of the visual studio command prompt which may or not be possible for you.



    "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" get <local directory> /FORCE /RECURSIVE /VERSION:T



    Documentation for the tf.exe get command:

    http://msdn.microsoft.com/en-us/library/fx7sdeyf(v=vs.100).aspx