You can playback test steps by using TFS. To playback test steps from TFS, you must create a build definition.
Note: Refer to Building Applications Using TFS for more information on establishing a connection to TFS .
Adding Solution to the TFS Server
You must add the solution to the TFS server to enable playing back test cases using TFS .
To add the solution to the TFS server , perform the following:
Select the solution on the Solution Explorer window.
Right-click and select Add Solution to Source Control.
The Add Solution to Source Control dialog box appears.
Click OK.
Right click the solution and select CheckIn.
Select the CheckIn option in the Team Explorer window.
The solution gets added to the TFS server .
Create a Build Definition. Refer to Building Applications Using TFS for information on creating build definition.
Queue the created build definition. Refer to Building Applications Using TFS for information on Queueing build definition.