Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Microsoft Test Manager – Test Plan – Part 2

, 25 Jul 2011
Rate this:
Please Sign up or sign in to vote.
CodeProjectIn my previous post I talked about the first stages of Test Plan (Part 1), in this post I will talk about Test Plan Properties. After we created the Test Plan and define basic Suite Structure I switch the view from “Contents” to “Properties” The first section allows you to change the

In my previous post I talked about the first stages of Test Plan (Part 1), in this post I will talk about Test Plan Properties.

After we created the Test Plan and define basic Suite Structure I switch the view from “Contents” to “Properties”

The first section allows you to change the Test Plan name, Description, Area Path and Iteration.

On the right side you can define the Owner of this Test Plan (Like Assigned To), The state of the Test Plan – This allows you to plan future Plans without harming the Reports, and define Start and End date so you can track and see Test Plan progress by Dates.

Run Settings

This is one of the most important sections in Test Plan Properties, the settings here will effect each and every Test Cases running under this Test Plan.

Test Settings: (Select how you want to run the Manual or Automated tests and any data to collect)

From the combo box choose “Local Test Run” or create new one and click Open

Test settings use diagnostic data adapters, which specify various types of data to collect when you run manual tests, automated tests, or both. Diagnostic data adapters can also specify how to affect the test machine. For example, a diagnostic data adapter might create an action recording, an action log, a video recording, or collect system information. Additionally, diagnostic data adapters can be used to simulate potential bottlenecks on the test machine or reduce the available system memory. For example, you can emulate a slow network to impose a bottleneck on the system.

Take Notice – Data Collectors can get very big (Size) on the TFS Server, Especially Video Recording and IntelliTrace , so Microsoft wrote a tool to clean those heavy attachments from TFS - Test Attachment Cleaner for Visual Studio Ultimate 2010 & Test Professional 2010

image

If you run your tests using Microsoft Test Manager, you can configure a test plan to use a test setting for all its manual tests, and a test setting for all its automated tests if you need it. In addition, you can select an environment that includes the set of roles in your test settings for all the manual tests, and you must select an environment for all the automated tests in your plan. If necessary, you can override these test settings and environments when you run your tests.

Test Settings Concepts

Configurations

Configuration variables and configurations

Defining Your Test Matrix Using Test Configurations

A test configuration is a set of configuration variables that specify the correct setup required for testing an application. You can create test configurations for your test plan using Microsoft Test Manager.

The configuration variables include hardware, operating system, software, and any other characteristics that are important to use when you run the tests. Each test configuration can represent an entry in your test matrix.

You can use one or more configuration variables to create a test configuration. Each configuration variable defines one characteristic of the testing environment. For example, a characteristic might be the operating system that you want to use to run your tests and the value might be "Windows XP." This test configuration can represent an entry in your test matrix that you plan to use to run tests. The following illustration shows you how to create configurations from within a new test plan.

In order to create new Test Configuration open: “Configurations In this plan":” and click “Manage” then you can define new Test Configuration from existing variables (4), or you can create new variables (5), Example for variables: MyComponent, Values:1,2,3,4.

image

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Shai Raiten
Architect Sela
Israel Israel
Shai Raiten is VS ALM MVP, currently working for Sela Group as a ALM senior consultant and trainer specializes in Microsoft technologies especially Team System and .NET technology. He is currently consulting in various enterprises in Israel, planning and analysis Load and performance problems using Team System, building Team System customizations and adjusts ALM processes for enterprises. Shai is known as one of the top Team System experts in Israel. He conducts lectures and workshops for developers\QA and enterprises who want to specialize in Team System.
 
My Blog: http://blogs.microsoft.co.il/blogs/shair/
Follow on   Twitter

Comments and Discussions

 
QuestionHow to get the configuration or environemtn information in a unit test Pinmembereliezerb13-Jun-13 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 25 Jul 2011
Article Copyright 2011 by Shai Raiten
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid