Sunteți pe pagina 1din 19

Microsoft Test Manager

Agenda
=============================================================

 What is Microsoft Test Manager (MTM).

 Benefits of MTM.

 Microsoft Test Manager features walkthrough

 Test Plans

 Test Case Management

 Authoring Tests

 Running Tests
What is Microsoft Test Manager?

• Microsoft Test Manager is a new tool designed specifically for generalist


testing teams. With Test Manager, one can create and manage test plans
and test cases, author and execute manual tests, and report rich bugs.

• Test Manager can be used to create and manage physical and virtual test
environments.

• Test Manager requires a connection to Visual Studio Team Foundation


Server . Team Foundation Server is used for storing all testing artifacts
used by Test Manager, such as test plans, test cases, bugs, and the results
of test runs.

• Test Manager also relies on the use of Team Foundation


Build for building the software that you are testing.
Benefits of MTM

 It offers an organized framework for testing applications.

 It is manages all aspects of testing process which otherwise is a time


consuming activity.

 It helps maintain a project database of tests that cover all aspects of


application functionality.

 It can be integrated with automated tools VSTS ,so that we can get a
fully automated application testing.

 With this, providing rich information to developers on testing activities


like defects, execution stats and etc. is easy and comprehensive.

 Integration with TFS (Team Foundation Server) allows powerful way to


organize things b/w Development and Testing teams.
Microsoft Test Manager Features

Generalist Specialist

Manual Testing Some scripting Strong scripting Strong coding Expert


skills coding skills
Creates scripts Develops
to set up lab, Some automated
create data coding skills
majority of test testing
tools target
70% of testing happens here procedures
here

Black Box Testing

White Box Testing


API Testing
Microsoft Test Manager Features

Plan
The “Plan” area is used to manage your overall test plan. This includes the
plan’s properties, as well as the individual test suites and test cases that
make up your plan. The project need to be selected first and then the plan.

Collection of projects
from TFS
Microsoft Test Manager Features

Plan
Now after selecting project, we need to select the plan or we can add new
plan to existing list.

Plan Name
Plan ID
Microsoft Test Manager Features

Plan
Once we have selected “Plan” dashboard appears with “Properties” option to
set different configuration . Some of the important things are highlighted
below.
Microsoft Test Manager Features

Assign Build
As testing progresses, we will periodically select new builds with which to test.
From test plan’s properties, we can first configure the filter for your builds to
match the build definition (as defined in Team Foundation Build) and,
optionally, the build quality to use as a filter from among all available builds.
Microsoft Test Manager Features

Defining Test Configurations

Often, your software must be supported on a variety of hardware and software


configurations. Correspondingly, your test plan should account for these
configurations if they have the potential to impact the functionality or
behavior of the application you are testing. Test Manager allows you to define
test configurations to represent the matrix of environments that you want to
test
Microsoft Test Manager Features

Content Section -> Test Cases

If you click Plan ➪ Contents, you can use the Contents planning activity to create
and organize the test cases that make up your test plan.

Test cases are organized into one of the following three types of test suites :

 Requirements - based test suite — This includes any test cases that are linked
to requirement work items via a “ Tests ” relationship. For any given iteration
of an application ’s development, you will usually want to start by adding all
the requirements that are being implemented in that iteration. This way, you
can create and execute test cases that verify an application is on track to
deliver the promised functionality.
Click on “ Add requirements ” to add a requirements - based test suite to your
plan. You will be prompted to select the requirement to which to bind your
suite.
Microsoft Test Manager Features

Content Section -> Test Cases - Contd..

Plan “Engage_Dummy”

Test Suite “Regression”

Test Cases
Microsoft Test Manager Features
Content Section -> Test Cases - Contd..
Test suites can have one of the following three valid states:-

In planning — This indicates that you are still authoring your test cases, and
that they aren't yet ready to run.

In progress — This means that test cases in this suite should be run by the
testing team. Only test suites that are “ In progress ” will show up in the Test
activity for testers to run. This is the default state for new test suites.

Completed — This should be used when you no longer want to run the test
cases that make up this suite. For example, if all of the test cases that make up
this suite are passing for current builds, then you may deem it unnecessary to
continue to run those tests.
Microsoft Test Manager Features
Content Section -> Test Cases->Authoring Test Cases

We can add a test case to a requirements - based test suite or a static test suite
by first highlighting that suite, and then clicking New or Add on the right side of
the activity window. Click “New” to create a brand new test case, or Add to
browse for an existing test case. When you are adding test cases to a
requirements - based test case, a “ Tests/Tested By ” link will be made between
your test case work item and the requirement work item.
Microsoft Test Manager Features
Content Section -> Test Cases->Authoring Test Cases

Using Shared Steps

There may be times when you have steps within your test plan
that are repeated across multiple
test cases. A good example of this is the process of creating an
account, or signing into a Web
site, before completing other steps within a test case. Instead of
authoring (and maintaining) these
common steps within each test case, you can utilize shared steps
Microsoft Test Manager Features

RUNNING TESTS AND TRACKING RESULTS

Any test suites that are set to a status of “ In progress ” will be shown along
the left side of this activity pane. Along the right side of this activity pane
you will see the test cases within the currently selected test suite.

Sometime you may see test case listed multiple times if there are multiple
test configurations assigned to that test case. You can use the Filter button
to choose which test configurations you are ready to test. This way, you can
show just the test configurations that you can support on the
machine you are currently testing with.
Microsoft Test Manager Features

Demo using MTM application

1) Test Design
2) Test execution
3) Test Tracking
Q&A
Thank You!

S-ar putea să vă placă și