test case management with mtm 2013
TRANSCRIPT
![Page 1: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/1.jpg)
MICROSOFT TEST MANAGER 2013
![Page 2: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/2.jpg)
Why MTM?
• Test Tool• Different test types– Manual/scripted– Exploratory– Automated (CodedUI/Unit tests)
• Integration
![Page 3: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/3.jpg)
Visual Studio 2013 ALM
Source Repos
Test Case Management
Feedback Management
Build and Continuous Integration
Agile Planning
Team Rooms
Team Foundation Server
![Page 4: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/4.jpg)
Resources
• Visual Studio 2013 Ultimate/Premium/Test Professional
• TFS• Visual Studio Online• Brian Keller http://aka.ms/almvms
![Page 5: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/5.jpg)
Agenda
![Page 6: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/6.jpg)
Test Planning
![Page 7: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/7.jpg)
Test Case Management
![Page 8: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/8.jpg)
Test Run
![Page 9: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/9.jpg)
Exploratory Testing
![Page 10: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/10.jpg)
Lab Management
![Page 11: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/11.jpg)
Ready?
![Page 12: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/12.jpg)
TEST PLANNING
![Page 13: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/13.jpg)
• Test plans1
• Test suites2
• Test configuration and test settings3
Overview
![Page 14: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/14.jpg)
Testing Hierarchy
![Page 15: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/15.jpg)
TEST PLAN
![Page 16: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/16.jpg)
Test Plan
![Page 17: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/17.jpg)
Test Plan Creation
![Page 18: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/18.jpg)
Test Plan Creation
![Page 19: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/19.jpg)
Test Center
• Define tests you plan to run for a specific sprint/iteration
• Execute the tests from your plan• Measure progress/quality
![Page 20: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/20.jpg)
Test Plan Properties
![Page 21: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/21.jpg)
Test Plan Run Settings
![Page 22: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/22.jpg)
Create Test plan from Web
![Page 23: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/23.jpg)
TEST PLAN - DEMO
![Page 24: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/24.jpg)
TEST PLAN - SUITES
![Page 25: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/25.jpg)
Test Suites Overview
• Test Suites• Static Test Suites• Query-based Test Suites• Requirement-based Test Suites• Copying Test Suites• Cloning Test Suites
![Page 26: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/26.jpg)
Test Suites• Group your test cases into a hierarchy of test suites– Root node (suite) contains all other test suites
![Page 27: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/27.jpg)
Test Suites• Static – Contains test cases and other test suites
• Query-based – Contains test cases based on a query– Test cases that fit the query criteria are dynamically added– Cannot contain other test suites
• Requirements-based – Group your test cases by requirements– Based on the work items that belong to the Requirement
category (Requirement, Product Backlog Item, User Story, etc.)
![Page 28: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/28.jpg)
Adding Test Cases to Static Test Suites
• Add existing or create new test cases for your static test suites
![Page 29: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/29.jpg)
Query-Based Test Suites• Query-based test suites are defined by work item queries that
select test cases– Example: All test cases with priority = 1
• Any new test case with priority set to 1 will be dynamically added to the test suite
![Page 30: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/30.jpg)
Requirement-Based Test Suites• Add existing requirement (work item) to your test
plan to create test suite• Each requirement has its own suite• Test cases added are linked to requirements • Helps to determine test coverage and completion
of your requirements
![Page 31: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/31.jpg)
Create Test Suites from Web Interface
![Page 32: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/32.jpg)
Copying Test Suites and Test Plans• Copying – Copies test cases “by reference”. New suite shares same
test cases– Useful for testing with different test plans but same test
cases– Can be done from the GUI
![Page 33: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/33.jpg)
Copying Static Test Suites
![Page 34: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/34.jpg)
Cloning Test Suites and Test Plans• Cloning– Copies test cases “by value”. New copies of test cases are
created– Useful for testing two different releases simultaneously– Command line
![Page 35: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/35.jpg)
Cloning Test Suites and Test Plans
![Page 36: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/36.jpg)
Cloning Test Suites – What Gets Cloned?
![Page 37: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/37.jpg)
TEST SUITES - DEMO
![Page 38: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/38.jpg)
TEST CONFIGURATION AND TEST SETTINGS
![Page 39: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/39.jpg)
Test Configuration and Settings Overview
• Test Configurations• Creating Test Configurations• Defining Configuration Variables• Selecting Test Configurations• Test Settings• Data Adapters• How to Collect Data
![Page 40: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/40.jpg)
Test Configurations• Configuration
variables specify setup required for testing– Examples:
Operating system, browsers, software, hardware, SP, anything
• Can be associated with test plans, suites and test cases
![Page 41: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/41.jpg)
Create Test Configurations• From Test Plan
Run Settings
• From Organize tab
![Page 42: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/42.jpg)
Defining Configuration Variables
![Page 43: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/43.jpg)
Selecting Test Configurations• Set default configuration(s) for your test plan – You may override at test suite and test case levels
• A test case and test configuration pair is a test point• Test results are saved for each test point
![Page 44: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/44.jpg)
Test Settings• Test settings use diagnostic data adapters to collect
data when running manual tests, automated tests, or both
![Page 45: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/45.jpg)
Test Settings
![Page 46: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/46.jpg)
Test Reports• View test run results in real time in MTM• Use predefined test reports (Microsoft Excel, SQL
Server Reporting Services)• Create your own reports (Microsoft Excel, SQL
Server Reporting Services)
![Page 47: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/47.jpg)
Reporting on Test Progress: Test Plan
![Page 48: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/48.jpg)
Reporting on Test Progress• Test Case Readiness: Shows how many test cases
are in Design vs. Ready
![Page 49: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/49.jpg)
Reporting on Test Progress (continued)
• Test Plan Progress: Tracks how many tests have been run and how many are failing
![Page 50: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/50.jpg)
Reporting on Test Progress (continued)
• Healthy version vs. unhealthy version
Healthy version Unhealthy version
![Page 51: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/51.jpg)
Reporting on Test Progress (continued)
![Page 52: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/52.jpg)
TEST CONFIGURATION AND SETTINGS - DEMO
![Page 53: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/53.jpg)
TEST CASE MANAGEMENT
![Page 54: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/54.jpg)
• Manual Test Cases1
• Test Steps Parameters2
• Shared Steps3
Overview
![Page 55: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/55.jpg)
MANUAL TEST CASES
![Page 56: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/56.jpg)
Manual Test Cases
• Test cases are work items• Test results are saved on each run• Manual test cases contain test steps (test
script)– May contain test steps with validation– A tester indicates pass or fail at the test step level
• A test case can be assigned to a tester
![Page 57: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/57.jpg)
Manual Test Cases (continued)
• Test cases can be added to multiple test suites in the same or different test plans
• Test cases are associated with 1..n test configurations– Creating 1..n test points
Team Project
Test PlanTest Suit
eTest Case
Test Suite
Test Case
Test Case
Test PlanTest Suit
eTest Case
Test Suite
Test Case
Test Case
Test Case
Test Suit
e
Test case
![Page 58: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/58.jpg)
Create Manual Test Cases from MTM
![Page 59: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/59.jpg)
Create Manual Test Cases from MTM (continued)• Add test steps using Microsoft Test Manager (MTM),
Microsoft Excel, or Microsoft Word (via copy and paste)
• Add test steps using Microsoft Test Manager (MTM), Microsoft Excel, or Microsoft Word (via copy and paste)
![Page 60: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/60.jpg)
Create Manual Test Cases from Web Interface
![Page 61: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/61.jpg)
Create Test Cases from an Assembly of Automated Tests• Use tcm.exe• You must use a lab environment• Make sure that the test project is a part of
your build definition• The test cases will have the same names as
the test methods
![Page 62: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/62.jpg)
Assign Test Cases to Testers
• Individually or in bulk• Assign at test point level
![Page 63: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/63.jpg)
TEST STEPS PARAMETERS
![Page 64: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/64.jpg)
Test Steps Parameters
• Parameters allow a manual test case to run multiple times with different data– Example:
@username, @password
• Parameters can be added to actions or expected results
![Page 65: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/65.jpg)
Test Steps Parameters (continued)
• Overall test results are based on all iterations passing
![Page 66: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/66.jpg)
SHARED STEPS
![Page 67: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/67.jpg)
Shared Steps
• Used for repeated sequences of steps, such as logging in, that occur in many test cases
• Avoiding having to enter these sequences again and again, create shared steps
![Page 68: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/68.jpg)
Create Shared Steps• While you’re editing a test case, select a sequence of steps that
you want to share• Steps you selected are replaced with a link to the new shared
steps work item
![Page 69: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/69.jpg)
TEST CASE MANAGEMENT - DEMO
![Page 70: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/70.jpg)
TEST RUN
![Page 71: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/71.jpg)
• Running manual test cases1
• Action recordings2
• Reporting bugs3
Overview
![Page 72: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/72.jpg)
Running Manual Test Cases
• Run individual tests or entire suites• A test result is recorded for each test run• Create action recordings– Used for future runs– Action recording can be used in CodedUI tests
• Submit new bugs or update existing bugs directly• Attach comments, indicate pass or fail, take
screenshots• Test case management features also available in
Web Portal
![Page 73: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/73.jpg)
Running Manual Test Cases (continued)
![Page 74: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/74.jpg)
Action Recordings
• Record a manual test (or shared steps) to allow for a later run of certain parts of manual tests– Example: Login, entire smoke test
• Use it to help with:– A test that you will want to run multiple times– Different manual tests that contain common
steps via action recordings– Verifying a bug fix– Automate by importing it to a Coded UI Test
![Page 75: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/75.jpg)
Creating Action Recordings
![Page 76: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/76.jpg)
Playback Action Recordings
![Page 77: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/77.jpg)
Preview Steps Before Playback
![Page 78: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/78.jpg)
Submitting Bugs
• Submit a bug from Test Runner– Information automatically added about the test
environment, comments, screenshots, video recording
• Submit a bug from Test Manager when you view the manual test result– No diagnostic data added via this route
![Page 79: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/79.jpg)
Submitting Bugs (continued)
![Page 80: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/80.jpg)
TEST RUN - DEMO
![Page 81: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/81.jpg)
EXPLORATORY TESTING
![Page 82: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/82.jpg)
Exploratory Testing
• Test the application without a predefined test script
• Record screenshots, comments, attach files, video and audio narration
• Submit bugs you find while testing– Includes rich diagnostic data collected through
testing– Uses the recorded steps to create a manual test
case
![Page 83: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/83.jpg)
Exploratory Testing (continued)
• Explore the application selecting a user story/requirement– Bugs created will be automatically linked to the user
story/requirement• Explore the application without selecting a user
story/requirement
![Page 84: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/84.jpg)
Exploratory Testing (continued)
• Update comments, add screenshots and files as you work, or add a bug
![Page 85: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/85.jpg)
Exploratory Testing Sessions
![Page 86: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/86.jpg)
EXPLORATORY TESTING - DEMO
![Page 87: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/87.jpg)
LAB MANAGEMENT
![Page 88: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/88.jpg)
Lab Environment
• A group of computers that you manage as a single entity
• Lets you collect diagnostic data from all the machines in the lab while you’re performing your tests. The data, such as event actions, are attached to the test results and to any bug that you create
• Automate the process of building, deploying, and running automated tests on your lab environment
![Page 89: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/89.jpg)
Lab Environment
![Page 90: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/90.jpg)
Standard Lab Environment
• Both physical computers and virtual machines can be added to a standard environment
• On each machine:– Configure a user account and a password that
has administrative privileges. All the machines must have the same username and password. It doesn’t matter whether the account is a domain or a local account
– Make sure that file sharing is enabled
![Page 91: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/91.jpg)
Standard Lab Environment (continued)
![Page 92: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/92.jpg)
Standard Lab Environment (continued)• Define the environment by adding the computers.
Enter the fully-qualified domain name of each computer
• Set the role of each machine
![Page 93: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/93.jpg)
Standard Lab Environment (continued)• When the environment’s status is ready, this means that test
agents have been installed on each machine, and that they are communicating with your team project’s test controller. The test agents let you collect diagnostic data from its machines while you run your test
![Page 94: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/94.jpg)
Use Standard Lab Environment• Mark the environment as in use to assign it to
yourself• Connect to the environment
![Page 95: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/95.jpg)
Use Standard Lab Environment• Log into its machines and install the latest
build of your software
![Page 96: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/96.jpg)
Use Standard Lab Environment• In testing Center, plan, properties, set the test
environment to the environment you chose. This allows you to collect event logs and other data from the machines in the environment
![Page 97: Test Case Management with MTM 2013](https://reader036.vdocuments.us/reader036/viewer/2022062420/55d25081bb61eb91758b45cd/html5/thumbnails/97.jpg)
Questions?