SeeTestAutomation- Configuring The TFS On The Server Machine
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
Team Foundation Server
We will start the configuration on the machine that the TFS was installed on. The machine should be accessible to the client machine, where the MTM client is installed, via Ethernet or internet so we can upload tests to the server and to run tests using the MTM agent.
Step 1: "New collection"
On the Team Foundation Server Administration Console we will navigate to the "Team Project Collections" and create a "New collection" that will contains all of the future test projects that we will create.
Step 2: Configure the build controller and agent
Our testing environment require us to have a Test Controller and a Test Agent. Those entities are represented by processes called "VSTTContrller" and "VSTTAgent" that will run on the TFS machine and needs to be configured to address the collection we created.
-
Navigate to the "Build configuration"
-
Stop the TFS-Server and open its "Properties" and configure it to connect to our new collection
- Add a new Controller and Agent. We will have to configure the "Working Directory" of the agent to a directory we had created and shared it to "everyone" so our client could access it. In our example "$(SystemDrive)\ExperitestCollectionBuild" equivalent to "C:\ ExperitestCollectionBuild".
Step 3: Configure the Test Controller to be connected the project collection
We will open the MTM Configuration Test Controller from the machine it was install on, in our case it was installed on the same machine as the TFS Server, configure it to address the collection we created and provide it with the credentials that will allow it access to the TFS server.