Environment Setup for Microsoft Test Manager (MTM) using TFS and Visual Studio 2010
Posted by: Abhijit Zanak
in Category VSTS & TFS (Azure DevOps)
Abstract: Microsoft Test Manager (MTM) is a new tool used for creating, managing and running tests associated with a TFS project. While creating the Microsoft Test Manager (MTM) Environment setup for the first time, I faced a few challenges while syncing with TFS and Visual Studio 2010. I thought of sharing my experiences which may help Test Engineers/ admin to create an MTM setup on their own.
Microsoft Test Manager (MTM) is a new tool used for creating, managing and running tests associated with a TFS project. While creating the Microsoft Test Manager (MTM) Environment setup for the first time, I faced a few challenges while syncing with TFS and Visual Studio 2010. I thought of sharing my experiences which may help Test Engineers/ admin to create an MTM setup on their own.
In this article, we will explore how to configure TFS and Visual Studio 2010, in order to work with MTM. This article contains plenty of screenshots to help you understand the setup process.
Create Team Project Collection in TFS
We can manage team projects more efficiently by grouping them together and assigning the same resources to them. We can group team projects together under the Team Project Collection. A Team Project Collection is an organizing structure that you can use to define and control a group of team projects, within the Team Foundation Server (TFS). Once you create a collection, all the artifacts and data used by the project is stored in a single database of the collection. Let us see the steps to create a Team Project Collection.
Step 1: On a server running TFS, go to Start > All Programs > Microsoft Team Foundation Server 2010 > TFS Administration Console
Step 2: To create a new Collection, click on Create Collection (to the right) as shown above
Type the Collection Name and click on Next.
Step 3 : In order to create a new database for collection, select the radio button ‘Create a new database for this collection’ and click on Next, as shown below.
Step 4: To create and manage Virtual environments for this collection using Lab Management, click on next.
Step 5 : Review the configuration and click Next.
Step 6 : The Readiness check verifies that the Team Project Collection is ready to be created.
Click on ‘Create’ to create the Team Project Collection.
Create Team Project in Visual Studio 2010
We will now create a team project that will provide a centralized point for the team to share and access all the activities that are required to develop a software product. We can create a Team Project using the New Team Project wizard.
Step 1: Start Visual Studio 2010. File > New > Team Project
Step 2: Select Agile Software Development as Process Template and click Next
Note: There are other Process templates as well, but for testing purposes, I am using the Agile template.
Step 3: Specify the Source Control Settings and click Next.
Step 4: Following is a summary of the Team Project Settings
Step 5: Click on finish and a Team Project Repository will be created in TFS.
Microsoft Test Manager 2010
The Microsoft Test Manager (MTM) tool is specially designed for manual testing. With the help of MTM, we can create and manage test plans, test cases, execute test cases and file Bugs. The Test manager requires a connection to Team Foundation server, since the TFS is used to store all the testing artifacts.
Go to Start > All Programs > Microsoft Visual Studio 2010 > Microsoft Test Manager 2010
Step 1: Select a Team Project to connect as shown below and click on ‘Connect Now’.
‘Parth’ is Team Project created in VSTS 2010 and ‘DefaultCollection’ is collection in TFS.
Step 2: That’s it. The Testing center will open with the Test Manager, to start further testing activities.
Conclusion: In this article, we saw how to create an environment setup to run Microsoft Test Manager. In my future articles, I will brief you on the features available in MTM.
This article has been editorially reviewed by Suprotim Agarwal.
C# and .NET have been around for a very long time, but their constant growth means there’s always more to learn.
We at DotNetCurry are very excited to announce The Absolutely Awesome Book on C# and .NET. This is a 500 pages concise technical eBook available in PDF, ePub (iPad), and Mobi (Kindle).
Organized around concepts, this Book aims to provide a concise, yet solid foundation in C# and .NET, covering C# 6.0, C# 7.0 and .NET Core, with chapters on the latest .NET Core 3.0, .NET Standard and C# 8.0 (final release) too. Use these concepts to deepen your existing knowledge of C# and .NET, to have a solid grasp of the latest in C# and .NET OR to crack your next .NET Interview.
Click here to Explore the Table of Contents or Download Sample Chapters!