dpeterson
11 years agoOccasional Contributor
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, so scripts are begin frequently updated.
The only way I know to update the script library at this time is to launch TestComplete and do a "Get Most Recent" through the UI. This is not practical from the dedicated automation VM's since the number of TC licenses available is limited, team members may have them all in use when the lead wants to run tests. The intention is to run tests using TestExecute from these machines.
Is there a way to automate the update process so QA team members can just "launch and go" with the automated library? Has anyone else done this? Any advice?
Alternately, if there is a way to use TFS to push the most recent file version, that would also be acceptable. As you can probably guess, I'm no TFS expert.
Thanks,
Dave
The only way I know to update the script library at this time is to launch TestComplete and do a "Get Most Recent" through the UI. This is not practical from the dedicated automation VM's since the number of TC licenses available is limited, team members may have them all in use when the lead wants to run tests. The intention is to run tests using TestExecute from these machines.
Is there a way to automate the update process so QA team members can just "launch and go" with the automated library? Has anyone else done this? Any advice?
Alternately, if there is a way to use TFS to push the most recent file version, that would also be acceptable. As you can probably guess, I'm no TFS expert.
Thanks,
Dave
- 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