[Step] 1 [Topic] Setting Up Test Machines to Run Tests or Collect Data Installing and Configuring Visual Studio Agents and Test and Build Controllers [Task Description] 
Determine what roles you need in your environment to run automated tests to test the application. For example, it could be a Web server and a desktop client that runs a browser. Then install a test controller and register it with your Team Foundation Server. Install test agents on the computers that you want to use as part of your physical environment for testing. These computers can be physical or virtual machines.