Getting Started with Microsoft Test Manager 2010 – Part 1

It’s really a great effort from Microsoft when they introduced a separated IDE for testing. Testers now can create their own test cases, test scenarios, test scripts, test plans, test configurations and perform a manual/automated tests using the testing IDE called Microsoft Test Manager (MTM).

MTM IDE is available when you install VS 2010 Test Professional or Ultimate edition. You can download the trial version of Visual Studio Test Professional from here:

MTM is fully integrated with team foundation server 2010, you can integrate a test plan with your development plan as a part of Application Life cycle Management (ALM) to have a full life cycle of software development.

Let’s start and open the MTM

If this is the first time you are opening the MTM you will have to connect to TFS team project [make sure you have permissions for this team project]. In case you are not in the same domain as TFS, first screen will inform you that you are not authorized to connect. Click authenticate and add your TFS credentials.

Choose which team project you want to start testing with and press “Connect now”.

Create your first test plan. As seen below I created a new plan and called it “Testing Demo”, you can add test plans as much you want.

Now you are ready to start with MTM. As seen below you have many option for your test. Lets start by defining basic functionality. In the top left pane you have the created testing demo plan and this is the root for you initial plan. You can add a hierarchy of test suites underneath this plan. It will be useful if your test contains a lot of test cases and it’s better way to organize them in sub suites by iteration or by functionality. The right pane is the place where all test cases associated with your plan.
You can choose existing test case work item or add new.

Go and select properties from the top left. As you see below in the first part you can select the area path and iteration for the team project you and can choose created date and end date for your test plan. By default it’s a week from the current date.
Second part is the running setting. By default the configuration is Windows 7 and IE 8 and this is the most common configuration for test. You can create your own test configuration from Organize tab in the top as seen below. You could change or add these configurations from Manage configuration variables to choose the suitable testing configuration for your test run.
Your test plan could be either manual or automated in this demo I will go through a manual test since the automated test requires more settings in the LAB center of MTM. In the manual runs select your testing settings, choose local test run and keep test environment as local since there is no test environment setup yet. I will not use any build in this demo so leave as it is.
Click save and close at the top.

Back to the main plan page, now we will create the first test case for this plan. From the right pane select new test case. As seen below, a test case is a workitem having all steps required to create a test. The testers use it to define both manual and automated tests. Refer back to this link for more details about test case workitem,

Add a title for the test case and fill the other information. On the steps tab you can add the actual manual steps to implement this step. As example if I want to test if a log-in screen exists for any local website, then I will add these steps.

  • Open IE 7.
  • Go to website URL.
  • Add username and password.
  • Click login.
  • Check the welcome note.

As you see there are 2 columns (Action, Expected Result), this exactly how you will implement the manual test. You can parameterize the values from the box below the steps tab, it’s very useful when you multiple environment or users you want to validate. Click save and close.Return back to plan page, you have now one test case for testing.

I will create new test suite under testing demo plan called “login”, and add this test case to login suite as you seen blow

Now, we are ready to move to test phase, your initial test plan has been setup and you can add as much test cases you need for each test suite.
In the next demo I will create action recording and manual test  for this test case.

Enjoy 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *