Environment Setup for Microsoft Test Manager (MTM) using TFS and Visual Studio 2010

Posted by: Abhijit Zanak , on 10/24/2010, in Category VSTS & TFS (Azure DevOps)
Views: 75976
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
TeamProjectCollection
Step 2: To create a new Collection, click on Create Collection (to the right) as shown above
image_1
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.
Image_2
Step 4: To create and manage Virtual environments for this collection using Lab Management, click on next.
image_3
Step 5 : Review the configuration and click Next.
image_4
Step 6 : The Readiness check verifies that the Team Project Collection is ready to be created.
Image_5
Click on ‘Create’ to create the Team Project Collection.
image_6
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
image_7
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.
image_8
Step 3: Specify the Source Control Settings and click Next.
image_9
Step 4: Following is a summary of the Team Project Settings
image_10
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.
image_11
Step 2: That’s it. The Testing center will open with the Test Manager, to start further testing activities.
image_12
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.

Absolutely Awesome Book on C# and .NET

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!

What Others Are Reading!
Was this article worth reading? Share it with fellow developers too. Thanks!
Share on LinkedIn
Share on Google+

Author
Author bio not available


Page copy protected against web site content infringement 	by Copyscape




Feedback - Leave us some adulation, criticism and everything in between!
Comment posted by Sumit Modi on Sunday, October 24, 2010 5:58 AM
Nice helpful article as MTM is a new tool and you mentioned the required steps to configure it.
Thanks....

Sumit
Comment posted by Abhishek Goyal on Monday, October 25, 2010 7:07 AM
Nice piece of info on Microsoft Test Manager. Keep it up.
Comment posted by Ankur Bhargava on Wednesday, December 8, 2010 4:43 AM
You mentioned in your articles "In my future articles, I will brief you on the features available in MTM."

please give me the link of your next article. I want to use VS2010 test professional in our application. I would appreciate your help.

Thanks
Comment posted by ajay agarwal on Wednesday, December 22, 2010 10:59 PM
this Article help me out to create a new project. step by Step description is nice
Comment posted by Aali on Sunday, April 10, 2011 12:59 AM
useful tips  Abhijit
Is there also a way to configure previous versions of TFS (like TFS 2008) for MTM?
Thanks
Comment posted by Tanya on Sunday, August 19, 2012 3:17 PM
Hiya ,

I appreciate your effort, very nicely demonstrated .  I hope if u can help me answer one query as I am struggling to find out , if any bug/defect is raised in MTM,  can a developer have an access to it through VS 2010 professional environment with MSDN subscription.or do my comapny have to purchase a seprate license for dev team for VS 2010 Ultimate edition . Please advice . ASAP .

Many Thanks
Comment posted by Tanya on Sunday, August 19, 2012 3:20 PM
Hiya ,

Please check this comment as there is typo in abv comment .

I appreciate your effort, very nicely demonstrated .  I hope if u can help me answer one query as I am struggling to find out , if any bug/defect is raised in MTM,  can a developer have an access to it through VS 2010 professional environment WITHOUT MSDN subscription.or do my comapny have to purchase a seprate license for dev team for VS 2010 Ultimate edition . Please advice . ASAP .
Comment posted by namita jain on Wednesday, August 27, 2014 2:47 PM
I have to use TFS in my current company .
i have couples of Questions appreciate if you can reply them asap.
1) I got web access of TFS 2012 and now i am looking for all feature of test case management here ..a) how to create test plan, test suite , requirement mapping ,test case , defect
b) I  was searching on Google and I found I need to have access of Test manager first
now my question comes
is this separate tool from Microsoft or just plug in ?
is this free or I need to pay ?
2) I have visual studio 2012 installed on my machine and how will i connect MTM(test manager) to it ?
3) when I check web access of TFS 2012 and it shows few test case are created already .
so how did they create without creating test plan ?