SlideShare una empresa de Scribd logo
1 de 169
Descargar para leer sin conexión
DAY 1
MTLM
Testing Practices with ALM tools


GOAL general course:
Know the value of MTLM and know how to use its capabilities …


GOAL deep dive:
Tune the value of MTLM, its capabilities and the processes it supports…
Lot of discussions
Agenda Day 1                                            and hands-on lab’s
 Start   Topics
 9:00    Introduction, environments setup
 9:15    introduction by the students
 9:45    Application Lifecycle Management and Visual Studio General
 9:55    Test Planning
 10:15   Managing, controlling the testing effort, test plans, test suites and test
         configuration
 10:45
 11:00   Specify test cases and corresponding capabilities of MTM
 11:45   Test execution, fast forward, reporting, olap cub
 12:00
 12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
 13:30   Test impact and recommended tests
 14:15
 14:30   Exploratory testing and create test from bug
 14:45   Test Controllers and Agents
 15:45   Test Environments in MTLM
Environments setup
     TFS supported operating system

     Installed:
     • Team Foundation Server with Basic configuration
     • Visual Studio 2010 with SP1
     • Microsoft Test Manager 2010 (comes with VS10 Ultimate)

     You get an USB with:
     • Demo applications (we create a Team Project for them, see lab 1)
     • Microsoft Test Agents.msi (we install this together)
     • Hands-on lab documents
     • This deck, talk through and useful information
Lab 1
Create one team projects for the demo applications




             Timebox: 15 minuts
People Introductions
Clemens Reijnen
Sogeti Netherlands | Management Consultant

http://www.ClemensReijnen.nl
@ClemensReijnen
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
Application Lifecycle
Management




GOAL:
Understand the term ALM, know it’s value and Visual Studio’s ALM support
Suite of Application Lifecycle Management tools



http://msdn.microsoft.com/en-us/library/fda2bad5.aspx
application lifecycle management
http://www.clemensreijnen.nl/post/2008/02/18/ALM-Definitions.aspx
work together
__with work packages
__on alm artifacts
Testing Lifecycle




See also on www.tmap.net:
- The Test Lifecycle Model
- The 4 essentials
http://msdn.microsoft.com/en-us/library/bb385832.aspx
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
Work items
Testing Lifecycle
Test Activities Planning…




See also on www.tmap.net: Planning Phase
http://msdn.microsoft.com/en-us/library/bb385832.aspx
VS2010 Process Support with Process Templates
Multiple process template
Artifact types

  Work items
   Reports
  Workbooks
  Dashboards
    Metrics
User Story Work Item Type
Work Item Type Flow

User Story
Testing processes in the Lifecycle
Testing processes in the Lifecycle
Process template with work items, flows,
         links, queries and more
       support | drive | enforce
              a way of work
Lab 2
Create user stories (2 or 3)
and development and test tasks (optional)
for the employee application.




             Timebox: 5 minuts
Workitem Queries
and Reports
Queries
create your own
Create your own – advanced –
Query Types
Default Reports
Excel Reports
create your own
Excel basic
create your own
Report Wizard
Excel Pivot
Test Activities Planning…




See also on www.tmap.net: Planning Phase
Microsoft Test Manager
Microsoft Test Manager 2010
The UX
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
Test Case Management




See also on www.tmap.net: Control Phase
Test Plans
    Test Suites
    Test Configurations
Organize the testing effort in a Test Execution Plan
Create dynamic test suites for changing selection criteria
Define various test configurations and share automation across those
Test (Execution) Plans
Test (Execution) Plans
Test Plan Organization
Naming of test plans for agile environments:
Iteration number and name and one extra test plan for end
to end tests.
Test Configurations
Test Configurations
Test Suites
Test Suites Organization
Naming of test suites for agile environments:
Suite per user story (requirement based) and one additional
test suite for regression tests.(query based?)

(test cases are copied to the regression test suite)
Proposed organization
Iteration 1
Create test plan for iteration and a ‘end to end’
test plan.
Create requirement based test suites which
hold test cases for that suite.
Iteration 1
Create two additional suites, one for
regression sets, which will be taken along
during the project and one specific for
automation.
Copy Test Cases

        Copy a Test Case   Copy the reference
                           to a Test Case


           ID 21              ID 21


            ID 22             ID 21
End iteration 1, some important test case are
promoted to the ‘end to end ’ test plan.
Iteration 2, test suites are created for the
requirements and the regression test suit is
copied (link or hard?)
During the execution of iteration 2 the
regression test suit grows and an automation
suit is added.
Again important ones are promoted to the
‘end to end’ test plan
TCM.exe
TCM plan /list
TCM suites /lists planid:16
Lab 3
Create Test Plan, Test Configurations and make
a test suite organization.

Optional: use TCM.exe to list the lab results




              Timebox: 10 minuts
Share MTM Artifacts




mtm://clemenes-pc:8080/tfs/defaultcollection/p:MSF/Testing/testplan/connect?id=19
mtm://<server name>:<port>/<tfs vdir>/<Collection name>/p:<project name>/<center
 group>/<group specific>
               Open Test results
               Open Test Cases (or any work item)
               Open Test Runs
               Open Test Plans
               Connect to test plans
               mtm://server:8080/tfs/ProjectCollection/p:Project/testing/testcase/open?id=67




http://blogs.msdn.com/b/vstsqualitytools/archive/2010/02/09/sharing-content-in-microsoft-
test-manager.aspx
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00
12:45                                            BREAK TILL:
        Bug workflow, infrastructure configuration for data diagnostic adapters
13:30
14:15
        Test impact and recommended tests          11:00
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents       (extra time to finish the labs :)
15:45   Test Environments in MTLM
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
Test Case Specification




See also on www.tmap.net: Specification Phase
Test Case
    Shared Steps
    Test Data Iterations
Link test cases and requirements to provide requirement traceability
Data drive test cases with different parameters
Refactor common shared steps in test cases
Test Case
Test Case
Naming of test case:
Purpose:
• Finding the right test case
• Common understanding
• Intention from the title
• Scan test plans more effectively and efficiently

Proposed solution
#1 make use of linked work items
#2 maximal length of the title 20 characters
#3 format <functionality identifier> <action> <additional information>
#4 make useful queries
Test Case from Excel
Test step types
Test steps
   Make them descriptive
   Not every step is a validation step
   Use the step attachment
Test steps copy-past
Test Data Iterations
Data drive test cases with different parameters
Test Data Iterations
Test data copy-past
Shared Steps
Refactor common shared steps in test cases
Reduce test maintenance by sharing test steps across test cases
Shared Steps
     Shared Step candidates?




• REUSE – Many steps, reused for many test cases . Benefit: time, retyping, boring work.
• EXPECTED CHANGES – for example environment variables change [URL]. Benefit: Time, test cases
   which need this step are updated automatically, also action recording.

• PRE- CONDITIONS – bring the system under test to a certain state and execute the different
   verifications. Benefit: beside time, you are certain the application under test is in the same state for every test case

• BACK TO INITIAL STATE - after test execution bring the environment back to the initial state for
   new test cases. Benefit: beside time, you are certain the application under test is always in a clean state for new test
   cases.
Shared Steps
    what about parameters
    and expected result in
    shared steps?
Lab 4
1. Specify multiple test cases.
2. Add some test data iterations.
3. Create shared step and reuse it.

Optional:
play with the parameters and expected result
steps in the shared steps…



             Timebox: 15 minuts
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
Test Execution
Test Runner

A test that you will want to run multiple times.
Different manual tests that contain common steps.
Verifying a bug is fixed by using a manual test.
Test Case Execution




See also on www.tmap.net: Execution Phase
Test Case Execution
Action recording
TCM
 run
/create
Test Case Execution
Results
View Test Results Using Microsoft Test Manager
1: from the ‘Run Tests’




2: from the ‘Analyze Test Runs’
From Analyze Test Runs
Test Results for multiple Test Cases
From Run Tests
Test Result for a Test Case
Test Plan
From TCM
run /export id:239 /resultsfile:”c:runresult”
Share with mtm://

 mtm://clemens-pc:8080/tfs/defaultcollection/p:MSF/Testing/testrun/open?id=292
Lab 5
Execute the created test cases, view the results

Optional: run them from TCM.exe




             Timebox: 10 minuts
Test queries
Test reports
Excel Reports for Tests
•   POINT COUNT TREND - I want to see the results for test in a particular test run
•   RESULT COUNT - I want to see trend report for my tests regardless of build or plan
•   RESULT COUNT TREND - I want to see trend report for my tests regardless of build or plan
•   TEST CASE COUNT - I want to see the number of test cases that have been planned for automation
Microsoft Test Manager Test Artifact
organization
Test Plans and TFS items
  MTLM Client

                                    Server
             TCM Server                                TFS

Plan “Iter      Plan “Iteration 2”               User Story 2
   1”             Suite US1
                 Suite US2
                      Test Case A
                      Test Case B            Test Case A        Task X
Plan “Iter            Test Case C
   3”                 Test Case D            Test Case B
                                                                Task Y
                                             Test Case C
                                                                Task Z
                                             Test Case C
Lab 6
Create excel pivot table to list test points per
Tester.




              Timebox: 10 minuts
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00    Lunch
12:45                                          LUNCH TILL:
        Bug workflow, infrastructure configuration for data diagnostic adapters
13:30
14:15
        Test impact and recommended tests
         Break
                                                 12:45
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents        (extra time to finish the labs :)
15:45   Test Environments in MTLM
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00    Lunch
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15    Break
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
Controlling the testing effort
BUG’s
File a BUG
Diagnostic Data Adapters
File a Bug
File an Exploratory Bug
Verify a Bug
Diagnostic Data Adapters
File a Bug
Submit a Bug using Test Runner
Ways to file a Bug

   Submit a Bug from the Test Runner
   Submit a Bug from the Verify Bugs View
   Submit a Bug from Test Results for a Test
Verify a Bug
Verify a Bug Fix Using Microsoft Test Manager
The Bug Flow
Link build 2 test
plan.                T   Execute   File Bug    Verify fix   Close or
Configure Data       E   Manual                by using     reopen
collectors.          S   Tests                 playback     Bug
                     T


         Build
     definition is
          the
     intergration

Setup build and
deploy               D               Resolve   Checkin
                     E               Bug       Build
                     V                         Deploy
Lab 7
Create a build

File a bug
Resolve a bug
Verify a bug




             Timebox: 15 minuts
Bug Reports
    Bug Status Report
    Bug Trends Report
    Reactivations Report
Bug Status Report
Bug Trends Report
Reactivations Report
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00    Lunch
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15    Break
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
Test Impact
Test Impact
Assign build 2
test plan.           T   Execute            Assign        Evaluated and reset
                          Execute
                           Execute
Configure Data       E   ‘passed’           ‘NEW’ build   tests impacted by
                          ‘passed’
                           ‘passed’
collectors.          S   Tests              2 Test Plan   code churn
                          Tests
                           Tests
                     T


         Build
     definition is
          the
     intergration

Setup build and
deploy               D            Make      Checkin
                     E            code      Build
                     V            changes   Deploy
Lab 8
Attach build to test plan
Execute tests

Make code change
Kickoff build

Attach new build to test plan
Evaluate impacted tests

              Timebox: 15 minuts
E2E Scenario
Iteration N
                                   Implement
D                                     US2
  Sprint
E plan         Implement                                              Fix bugs
V             User Story ‘1’
                                           Fix bugs
                 (US1)



    Build 1   Build 2    Build 3       Build 4    Build 5       Build 6          Build 7



                                                                                  Regress
               Write tests         Test US1 &
T                                                      Verify fixes              impacted
                for US1             file bugs
E    Sprint                                                                        tests
S     plan
                         Write tests                  Test US2 &
T                         for US2                                       Verify fixes
                                                       file bugs
User Stories
        Key Value: Requirements Planning
                              and corresponding
                      Implement
D
E
     Sprint
      plan  Implement
                         US2
                              done dev tasks.
                                      Fix bugs
V             User Story ‘1’
                                          Fix bugs
                 (US1)

                                               Create test tasks
    Build 1   Build 2    Build 3       Build 4 and 5
                                                 Build assign to 7
                                                         Build 6 Build


                                               someone else.
                                                                            Regress
               Write tests         Test US1 &
T                                                     Verify fixes         impacted
                for US1             file bugs
E    Sprint                                                                  tests
S     plan
                         Write tests                 Test US2 &
T                         for US2                                    Verify fixes
                                                      file bugs
Execute the Test
        Key Value: Requirements Planning
                                      Specification Tasks
                           Implement
D
     Sprint                   US2     and other test
E     plan   Implement                        Fix bugs
V           User Story ‘1’
               (US1)
                                      tasks
                                 Fix bugs




    Build 1   Build 2    Build 3      Build 4   Build 5     Build 6     Build 7



                                                                         Regress
               Write tests         Test US1 &
T                                                  Verify fixes         impacted
                for US1             file bugs
E    Sprint                                                               tests
S     plan
                        Write tests              Test US2 &
T                        for US2                                  Verify fixes
                                                  file bugs
Execute the Test
        Key Value: Requirements Planning
                           Implement
                                      Execution Tasks
D
E
     Sprint
             Implement
                              US2     and file bugs (if
                                               Fix bugs
      plan
V           User Story ‘1’
               (US1)                  any)
                                 Fix bugs




    Build 1   Build 2    Build 3      Build 4   Build 5     Build 6     Build 7



                                                                         Regress
               Write tests         Test US1 &
T                                                  Verify fixes         impacted
                for US1             file bugs
E    Sprint                                                               tests
S     plan
                        Write tests              Test US2 &
T                        for US2                                  Verify fixes
                                                  file bugs
Key Value: Virtuous Bug Cycle
Dev                                  Implement
 D                                      US2
solves
   Sprint
 E plan          Implement                                            Fix bugs
 V              User Story ‘1’
the                (US1)
                                           Fix bugs


bugs.
     Build 1    Build 2    Build 3     Build 4    Build 5       Build 6          Build 7


Test
                                                                                  Regress
Verifies WriteUS1
 T
          for
               tests       Test US1 &
                            file bugs
                                                       Verify fixes              impacted
 E Sprint                                                                          tests
tests
 S plan
                   Write tests                        Test US2 &
 T                          for US2                                     Verify fixes
                                                       file bugs
Key Value: Virtuous Bug Cycle
Check                                Implement
 D                                      US2
Results
   Sprint
 E plan          Implement                                              Fix bugs
V               User Story ‘1’
                                             Fix bugs
                   (US1)



     Build 1    Build 2    Build 3       Build 4    Build 5       Build 6          Build 7



                                                                                    Regress
                 Write tests         Test US1 &
 T                                                       Verify fixes              impacted
                  for US1             file bugs
 E    Sprint                                                                         tests
 S     plan
                           Write tests                  Test US2 &
 T                          for US2                                       Verify fixes
                                                         file bugs
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00    Lunch
12:45                                           BREAK TILL:
        Bug workflow, infrastructure configuration for data diagnostic adapters
13:30
14:15
        Test impact and recommended tests
         Break
                                                  14:30
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents        (extra time to finish the labs :)
15:45   Test Environments in MTLM
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00    Lunch
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15    Break
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
Create test from Bug
File an Exploratory Bug
Submit an Exploratory Bug using Test Runner
PRO:
                                                 -   Reuse scenario knowledge business user
                                                 -   No typing detailed test steps
                                                 -   Easy to parameterize
1     Record scenario by business user with      -   Writing standards for test steps
    MTM on application under test. Action        -   MTM capabilities in step 3. (bug, codedUI,
                                                     recommended test etc …)
    recording is captured.                       Most benefit during step 2 (test case writing),
                                                 benefit in step 1: run once in common situation.
                                                 Benefit in step 3: common MTM benefits (record
                                                 playback, fast forward, parameters etc) and
                                                 benefit of well written steps.



2    Create test steps (with parameters) in
    MTM by using the action recording.
                                                 CON:
                                                 - Manual actions and tests.
                                                 - Test steps text are technical names
                                                 - Action recording (step 1) must be clean.
                                                 - Unknown what is validated, during step 2, need
                                                   additional knowledge.
                                                 - The business user must think of the important
                                                   scenarios
3    Save test case and execute it by a tester
                                                 The action recording during step 1 can have
    on application under test, by using MTM.     unnecessary steps, these can be removed during the
                                                 execution (1) or during the specification (2).
Lab 9
Create an exploratory bug and create a test case from it




             Timebox: 10 minuts
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00    Lunch
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15    Break
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
Test Infrastructure



Where and how to run the automated test?
Test Environments
See also on www.TMap.net:
- Checklist "Intake Test Environment“
- Checklist "Test Environment“
- Infrastructure Phase
Test lab
Visual Studio 2010 Lab Management
Where and how to run the automated test?
physical test environments
virtualized test environments
physical test                 virtualized test
environments                  environments
  MTLM Client                   MTLM Client


                Physical
                Test Client      TFS 2010     System Center Virtual
   TFS 2010
                                              Machine Manager
                                              (SCVMM)

                                              Hyper-V         Library
                Physical                      Host            Shares
                Test Client                     VM
                                                VM
                                                                share

                                                                share
Build
            application
                                        physical test environments
                                        versus
                                        virtualized test environments

                           Provision
Run tests
                          ‘clean’ env




              Deploy
            application
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00    Lunch
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15    Break
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
Lab for Physical
Environments, the
different flavors…
Visual Studio   Team
                Foundation
                Server




Test Manager
                             Build Server   Test Agent
                                                 Test Agent
                                                     Test Agent
Configurations for automated test execution:



                                  A




Flavor A: Execution from VS2010…
 Real developer test / test automation dry run
 (Triggered by: right mouse click – run tests, in test project)
 http://msdn.microsoft.com/en-us/library/dd286580.aspx

 No additional configuration needed*
 * Data Diagnostic Settings in the Local.Testsettings file are configurable.




                                                    Pro: Con:
                                     Easy setup No collection of test results in TFS
                    Debug-able test automation Run on developer environment
Configurations for automated test execution:


                                                             B




Flavor B: Execution during build with Build controller…
                                 not recommended, strange to run UI tests on build
  Part of Build Verification Tests
  (triggered by: build)

  Set the Build Service to run in interactive mode
  http://blogs.msdn.com/b/mathew_aniyan/archive/2009/05/26/coded-ui-test-in-a-team-build.aspx
  Configure the build to run the tests
  http://msdn.microsoft.com/en-us/library/ms182465.aspx#CreateBuildType
  * Data Diagnostic Settings in the *.Testsettings file are configurable.




                                              Pro: Con:
                                         Easy setup No collection of test results in TFS
                        Test results in build result Build Controller needs to run in interactive mode
                                                     Tests are executed on build environment
                                                     Run on build environment
Configurations for automated test execution:




                                                                     C


Flavor C: Execution during build with Test controller… B
                                       Preferred configuration above flavor
  Part of Build Verification Tests on multiple test agents
  (triggered by: build)

  Configure Test Controller (don’t register it with a project collection )
  http://msdn.microsoft.com/en-us/library/dd648127.aspx#TestControllers
  Configure Test Agents on clients (interactive mode)
  http://msdn.microsoft.com/en-us/library/dd648127.aspx#TestAgents
  Configure *.Testsettings file in solution to use Test Controller and Test Agents
  Configure the build to run the tests (see B)




                                                    Pro: Con:
                 Test run on test environments No collection of test results in TFS
           Tests run on multiple environments Harder to configure
                     Test Results in Build result Need for specific test client environments
                                                  Test Settings from VS
Configurations for automated test execution:




                                               D


Flavor D: Execution from Microsoft Test Manager…than BVT
                                         Other type of test
  Part of Regression Tests
  (triggered by: MTM user, right mouse click on test case, run)

  Configure Test Controller (register it with a project collection )
  Configure Test Agents on clients (interactive mode, can be the same as MTM)
  Configure Lab Center in MTM to use test controller and create test ‘agent’ environment.
  http://msdn.microsoft.com/en-us/library/ee390842.aspx
  http://msdn.microsoft.com/en-us/library/dd293551.aspx
  Associate CodedUI test with WI Test Case from VS.
  http://www.richard-banks.org/2010/11/how-to-use-codedui-tests-watin-and-mtm.html


                                                   Pro: Con:
                 Test run on test environments Manually triggered by Tester
           Tests run on multiple environments Hard to configure
                   Test Result in MTM and TFS Need for specific test client (same as MTM?)
                        Test Settings from MTM
Configurations for automated test execution:




                                                               E


Flavor E: Execution from MTM duringPreferred configuration above flavor C
                                     Build…
  Part of BVT                                                                 Flavor D and E can be configured together
  (triggered by: Build)

  Configure Test Controller (register it with a project collection )
  Configure Test Agents on clients (interactive mode, can be the same as MTM)
  Configure Lab Center in MTM to use test controller and create test ‘agent’ environment.
  Associate CodedUI test with WI Test Case from VS.
  Create Build task to run TCM or MSTEST task for Test Plan
  http://blogs.microsoft.co.il/blogs/shair/archive/2010/10/30/how-to-run-coded-ui-tests-from-command-line.aspx


                                                Pro: Con:
                 Test run on test environments Hard to configure
           Tests run on multiple environments Need for specific test client (same as MTM?)
                   Test Result in MTM and TFS
                             Triggered by build
Test Controller
Test Agent
Lab 10
             Install and configure the test controller and test agent




http://msdn.microsoft.com/en-us/library/dd648127.aspx
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a3216d2a-0530-4f6c-a7c9-0df37c54a902




                                         Timebox: 20 minuts
Start   Topics
9:00    Introduction, environments setup
9:15    introduction by the students
9:45    Application Lifecycle Management and Visual Studio General
9:55    Test Planning
10:15   Managing, controlling the testing effort, test plans, test suites and test
        configuration
10:45    BREAK
11:00   Specify test cases and corresponding capabilities of MTM
11:45   Test execution, fast forward, reporting, olap cub
12:00    Lunch
12:45   Bug workflow, infrastructure configuration for data diagnostic adapters
13:30   Test impact and recommended tests
14:15    Break
14:30   Exploratory testing and create test from bug
14:45   Test Controllers and Agents
15:45   Test Environments in MTLM
New physical environment
RECAP
Test Activities Planning…
Test Case Management
                     RECAP
RECAP
Test Case Specification
RECAP
Test Case Execution
Test Case Management
                     RECAP
Start   Topics
                        DAY 2
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze
        the results
11:30   Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within
        MTM and analyze the results
12:30   break
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing

Más contenido relacionado

La actualidad más candente

Grails 1.1 Testing - Unit, Integration & Functional
Grails 1.1 Testing - Unit, Integration & FunctionalGrails 1.1 Testing - Unit, Integration & Functional
Grails 1.1 Testing - Unit, Integration & Functional2Paths Solutions Ltd.
 
Qtp 9.5 Tutorials by www.onsoftwaretest.com
Qtp 9.5 Tutorials by www.onsoftwaretest.comQtp 9.5 Tutorials by www.onsoftwaretest.com
Qtp 9.5 Tutorials by www.onsoftwaretest.comonsoftwaretest
 
Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful L...
Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful L...Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful L...
Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful L...TEST Huddle
 
Mattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario TestingMattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario TestingTEST Huddle
 
TEST_AUTOMATION_CASE_STUDY_(2)2[1]
TEST_AUTOMATION_CASE_STUDY_(2)2[1]TEST_AUTOMATION_CASE_STUDY_(2)2[1]
TEST_AUTOMATION_CASE_STUDY_(2)2[1]Clive Dall
 
Tutorial ranorex
Tutorial ranorexTutorial ranorex
Tutorial ranorexradikalzen
 
Model-Based Testing: Concepts, Tools, and Techniques
Model-Based Testing: Concepts, Tools, and TechniquesModel-Based Testing: Concepts, Tools, and Techniques
Model-Based Testing: Concepts, Tools, and TechniquesTechWell
 
Track g semiconductor test program - testinsight
Track g  semiconductor test program - testinsightTrack g  semiconductor test program - testinsight
Track g semiconductor test program - testinsightchiportal
 
Google test training
Google test trainingGoogle test training
Google test trainingThierry Gayet
 
Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.
Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.
Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.Wolfgang Grieskamp
 
Sap Integration Testing Test Scripting V0.1
Sap Integration Testing   Test Scripting V0.1Sap Integration Testing   Test Scripting V0.1
Sap Integration Testing Test Scripting V0.1ASCARR1
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsQuontra Solutions
 
Test driven development
Test driven developmentTest driven development
Test driven developmentlukaszkujawa
 
QA with Microsoft Test Manager and Lab Management
QA with Microsoft Test Manager and Lab ManagementQA with Microsoft Test Manager and Lab Management
QA with Microsoft Test Manager and Lab ManagementRofiqi Setiawan
 
Model Based Software Testing
Model Based Software TestingModel Based Software Testing
Model Based Software TestingEsin Karaman
 
Full Testing Experience - Visual Studio and TFS 2010
 Full Testing Experience - Visual Studio and TFS 2010 Full Testing Experience - Visual Studio and TFS 2010
Full Testing Experience - Visual Studio and TFS 2010Ed Blankenship
 
Automation testing by Durgasoft in Hyderabad
Automation testing by Durgasoft in HyderabadAutomation testing by Durgasoft in Hyderabad
Automation testing by Durgasoft in HyderabadDurga Prasad
 

La actualidad más candente (20)

Grails 1.1 Testing - Unit, Integration & Functional
Grails 1.1 Testing - Unit, Integration & FunctionalGrails 1.1 Testing - Unit, Integration & Functional
Grails 1.1 Testing - Unit, Integration & Functional
 
Qtp 9.5 Tutorials by www.onsoftwaretest.com
Qtp 9.5 Tutorials by www.onsoftwaretest.comQtp 9.5 Tutorials by www.onsoftwaretest.com
Qtp 9.5 Tutorials by www.onsoftwaretest.com
 
Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful L...
Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful L...Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful L...
Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful L...
 
Mattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario TestingMattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario Testing
 
TEST_AUTOMATION_CASE_STUDY_(2)2[1]
TEST_AUTOMATION_CASE_STUDY_(2)2[1]TEST_AUTOMATION_CASE_STUDY_(2)2[1]
TEST_AUTOMATION_CASE_STUDY_(2)2[1]
 
Tutorial ranorex
Tutorial ranorexTutorial ranorex
Tutorial ranorex
 
Model-Based Testing: Concepts, Tools, and Techniques
Model-Based Testing: Concepts, Tools, and TechniquesModel-Based Testing: Concepts, Tools, and Techniques
Model-Based Testing: Concepts, Tools, and Techniques
 
Track g semiconductor test program - testinsight
Track g  semiconductor test program - testinsightTrack g  semiconductor test program - testinsight
Track g semiconductor test program - testinsight
 
Google test training
Google test trainingGoogle test training
Google test training
 
Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.
Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.
Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.
 
Sap Integration Testing Test Scripting V0.1
Sap Integration Testing   Test Scripting V0.1Sap Integration Testing   Test Scripting V0.1
Sap Integration Testing Test Scripting V0.1
 
Maestro_Abstract
Maestro_AbstractMaestro_Abstract
Maestro_Abstract
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
 
Test driven development
Test driven developmentTest driven development
Test driven development
 
Unit testing
Unit testingUnit testing
Unit testing
 
PL/SQL unit testing with Ruby
PL/SQL unit testing with RubyPL/SQL unit testing with Ruby
PL/SQL unit testing with Ruby
 
QA with Microsoft Test Manager and Lab Management
QA with Microsoft Test Manager and Lab ManagementQA with Microsoft Test Manager and Lab Management
QA with Microsoft Test Manager and Lab Management
 
Model Based Software Testing
Model Based Software TestingModel Based Software Testing
Model Based Software Testing
 
Full Testing Experience - Visual Studio and TFS 2010
 Full Testing Experience - Visual Studio and TFS 2010 Full Testing Experience - Visual Studio and TFS 2010
Full Testing Experience - Visual Studio and TFS 2010
 
Automation testing by Durgasoft in Hyderabad
Automation testing by Durgasoft in HyderabadAutomation testing by Durgasoft in Hyderabad
Automation testing by Durgasoft in Hyderabad
 

Similar a MTLM Visual Studio 2010 ALM workshop - day1

MTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshopMTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshopClemens Reijnen
 
Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Fabricio Epaminondas
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2Yogindernath Gupta
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationRanorex
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2onsoftwaretest
 
manual-testing
manual-testingmanual-testing
manual-testingKanak Mane
 
ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2Chandukar
 
Response time difference analysis of performance testing tools
Response time difference analysis of performance testing toolsResponse time difference analysis of performance testing tools
Response time difference analysis of performance testing toolsSpoorthi Sham
 
Darius Silingas - From Model Driven Testing to Test Driven Modelling
Darius Silingas - From Model Driven Testing to Test Driven ModellingDarius Silingas - From Model Driven Testing to Test Driven Modelling
Darius Silingas - From Model Driven Testing to Test Driven ModellingTEST Huddle
 
Testing documents
Testing documentsTesting documents
Testing documentsHari Tiru
 
Darius Silingas - From Model-Driven Testing - EuroSTAR 2010
Darius Silingas - From Model-Driven Testing - EuroSTAR 2010Darius Silingas - From Model-Driven Testing - EuroSTAR 2010
Darius Silingas - From Model-Driven Testing - EuroSTAR 2010TEST Huddle
 
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...QueBIT Consulting
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycleNikhil Sharma
 
Hunt On The White Rabbit 10 A Eng
Hunt On The White Rabbit 10 A EngHunt On The White Rabbit 10 A Eng
Hunt On The White Rabbit 10 A EngAndrew Issaenko
 
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsTest automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsSteven Li
 
Testing Applications—For the Cloud and in the Cloud
Testing Applications—For the Cloud and in the CloudTesting Applications—For the Cloud and in the Cloud
Testing Applications—For the Cloud and in the CloudTechWell
 
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Azhar Satti
 

Similar a MTLM Visual Studio 2010 ALM workshop - day1 (20)

MTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshopMTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshop
 
Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Continuous testing in agile projects 2015
Continuous testing in agile projects 2015
 
The best day for qa
The best day for qaThe best day for qa
The best day for qa
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2
 
manual-testing
manual-testingmanual-testing
manual-testing
 
ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2
 
hp_alm.docx
hp_alm.docxhp_alm.docx
hp_alm.docx
 
Response time difference analysis of performance testing tools
Response time difference analysis of performance testing toolsResponse time difference analysis of performance testing tools
Response time difference analysis of performance testing tools
 
Darius Silingas - From Model Driven Testing to Test Driven Modelling
Darius Silingas - From Model Driven Testing to Test Driven ModellingDarius Silingas - From Model Driven Testing to Test Driven Modelling
Darius Silingas - From Model Driven Testing to Test Driven Modelling
 
Testing documents
Testing documentsTesting documents
Testing documents
 
Darius Silingas - From Model-Driven Testing - EuroSTAR 2010
Darius Silingas - From Model-Driven Testing - EuroSTAR 2010Darius Silingas - From Model-Driven Testing - EuroSTAR 2010
Darius Silingas - From Model-Driven Testing - EuroSTAR 2010
 
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
 
Sakshi Tripathi Resume
Sakshi Tripathi ResumeSakshi Tripathi Resume
Sakshi Tripathi Resume
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
Hunt On The White Rabbit 10 A Eng
Hunt On The White Rabbit 10 A EngHunt On The White Rabbit 10 A Eng
Hunt On The White Rabbit 10 A Eng
 
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsTest automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
 
Testing Applications—For the Cloud and in the Cloud
Testing Applications—For the Cloud and in the CloudTesting Applications—For the Cloud and in the Cloud
Testing Applications—For the Cloud and in the Cloud
 
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187
 

Más de Clemens Reijnen

Azure for software development teams
Azure for software development teamsAzure for software development teams
Azure for software development teamsClemens Reijnen
 
06 operations and feedback
06   operations and feedback06   operations and feedback
06 operations and feedbackClemens Reijnen
 
04 test controlling and tracking
04   test controlling and tracking04   test controlling and tracking
04 test controlling and trackingClemens Reijnen
 
03 test specification and execution
03   test specification and execution03   test specification and execution
03 test specification and executionClemens Reijnen
 
Test Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overviewTest Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overviewClemens Reijnen
 
ALM - Getting Testing done in a Sprint
ALM - Getting Testing done in a SprintALM - Getting Testing done in a Sprint
ALM - Getting Testing done in a SprintClemens Reijnen
 
TFS11 on Azure the basics
TFS11 on Azure the basicsTFS11 on Azure the basics
TFS11 on Azure the basicsClemens Reijnen
 
Coded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the FieldCoded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the FieldClemens Reijnen
 
Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010Clemens Reijnen
 
Alm 4 Azure with screenshots
Alm 4 Azure with screenshotsAlm 4 Azure with screenshots
Alm 4 Azure with screenshotsClemens Reijnen
 
Talk Through Sogeti ALM 4 Azure
Talk Through Sogeti ALM 4 AzureTalk Through Sogeti ALM 4 Azure
Talk Through Sogeti ALM 4 AzureClemens Reijnen
 
TMap for VS2010 - SlideShare.
TMap for VS2010 - SlideShare.TMap for VS2010 - SlideShare.
TMap for VS2010 - SlideShare.Clemens Reijnen
 

Más de Clemens Reijnen (20)

Azure for software development teams
Azure for software development teamsAzure for software development teams
Azure for software development teams
 
06 operations and feedback
06   operations and feedback06   operations and feedback
06 operations and feedback
 
05 test infrastructure
05   test infrastructure05   test infrastructure
05 test infrastructure
 
04 test controlling and tracking
04   test controlling and tracking04   test controlling and tracking
04 test controlling and tracking
 
03 test specification and execution
03   test specification and execution03   test specification and execution
03 test specification and execution
 
02 test planning
02   test planning02   test planning
02 test planning
 
01 the value of quality
01   the value of quality01   the value of quality
01 the value of quality
 
A Collaborative culture
A Collaborative cultureA Collaborative culture
A Collaborative culture
 
Test Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overviewTest Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overview
 
ALM - Getting Testing done in a Sprint
ALM - Getting Testing done in a SprintALM - Getting Testing done in a Sprint
ALM - Getting Testing done in a Sprint
 
TFS11 on Azure advanced
TFS11 on Azure advancedTFS11 on Azure advanced
TFS11 on Azure advanced
 
TFS11 on Azure the basics
TFS11 on Azure the basicsTFS11 on Azure the basics
TFS11 on Azure the basics
 
Coded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the FieldCoded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the Field
 
Scrum with VS2010
Scrum with VS2010  Scrum with VS2010
Scrum with VS2010
 
Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010
 
Alm 4 Azure with screenshots
Alm 4 Azure with screenshotsAlm 4 Azure with screenshots
Alm 4 Azure with screenshots
 
Talk Through Sogeti ALM 4 Azure
Talk Through Sogeti ALM 4 AzureTalk Through Sogeti ALM 4 Azure
Talk Through Sogeti ALM 4 Azure
 
Alm 4 Azure
Alm 4 AzureAlm 4 Azure
Alm 4 Azure
 
TMap for VS2010 - SlideShare.
TMap for VS2010 - SlideShare.TMap for VS2010 - SlideShare.
TMap for VS2010 - SlideShare.
 
Work agile with VS2010
Work agile with VS2010Work agile with VS2010
Work agile with VS2010
 

Último

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 

Último (20)

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 

MTLM Visual Studio 2010 ALM workshop - day1

  • 2. Testing Practices with ALM tools GOAL general course: Know the value of MTLM and know how to use its capabilities … GOAL deep dive: Tune the value of MTLM, its capabilities and the processes it supports…
  • 3. Lot of discussions Agenda Day 1 and hands-on lab’s Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 4. Environments setup TFS supported operating system Installed: • Team Foundation Server with Basic configuration • Visual Studio 2010 with SP1 • Microsoft Test Manager 2010 (comes with VS10 Ultimate) You get an USB with: • Demo applications (we create a Team Project for them, see lab 1) • Microsoft Test Agents.msi (we install this together) • Hands-on lab documents • This deck, talk through and useful information
  • 5. Lab 1 Create one team projects for the demo applications Timebox: 15 minuts
  • 7. Clemens Reijnen Sogeti Netherlands | Management Consultant http://www.ClemensReijnen.nl @ClemensReijnen
  • 8. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 9. Application Lifecycle Management GOAL: Understand the term ALM, know it’s value and Visual Studio’s ALM support
  • 10. Suite of Application Lifecycle Management tools http://msdn.microsoft.com/en-us/library/fda2bad5.aspx
  • 12. work together __with work packages __on alm artifacts
  • 13. Testing Lifecycle See also on www.tmap.net: - The Test Lifecycle Model - The 4 essentials
  • 15. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 17. Testing Lifecycle Test Activities Planning… See also on www.tmap.net: Planning Phase
  • 19. VS2010 Process Support with Process Templates Multiple process template
  • 20. Artifact types Work items Reports Workbooks Dashboards Metrics
  • 21. User Story Work Item Type
  • 22. Work Item Type Flow User Story
  • 23. Testing processes in the Lifecycle
  • 24. Testing processes in the Lifecycle
  • 25.
  • 26. Process template with work items, flows, links, queries and more support | drive | enforce a way of work
  • 27. Lab 2 Create user stories (2 or 3) and development and test tasks (optional) for the employee application. Timebox: 5 minuts
  • 31. Create your own – advanced – Query Types
  • 33.
  • 36. create your own Report Wizard Excel Pivot
  • 37. Test Activities Planning… See also on www.tmap.net: Planning Phase
  • 39. Microsoft Test Manager 2010 The UX
  • 40. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 41. Test Case Management See also on www.tmap.net: Control Phase
  • 42. Test Plans Test Suites Test Configurations Organize the testing effort in a Test Execution Plan Create dynamic test suites for changing selection criteria Define various test configurations and share automation across those
  • 45. Test Plan Organization Naming of test plans for agile environments: Iteration number and name and one extra test plan for end to end tests.
  • 49. Test Suites Organization Naming of test suites for agile environments: Suite per user story (requirement based) and one additional test suite for regression tests.(query based?) (test cases are copied to the regression test suite)
  • 51. Iteration 1 Create test plan for iteration and a ‘end to end’ test plan. Create requirement based test suites which hold test cases for that suite.
  • 52. Iteration 1 Create two additional suites, one for regression sets, which will be taken along during the project and one specific for automation.
  • 53. Copy Test Cases Copy a Test Case Copy the reference to a Test Case ID 21 ID 21 ID 22 ID 21
  • 54. End iteration 1, some important test case are promoted to the ‘end to end ’ test plan.
  • 55. Iteration 2, test suites are created for the requirements and the regression test suit is copied (link or hard?)
  • 56. During the execution of iteration 2 the regression test suit grows and an automation suit is added.
  • 57. Again important ones are promoted to the ‘end to end’ test plan
  • 60. TCM suites /lists planid:16
  • 61. Lab 3 Create Test Plan, Test Configurations and make a test suite organization. Optional: use TCM.exe to list the lab results Timebox: 10 minuts
  • 63. mtm://<server name>:<port>/<tfs vdir>/<Collection name>/p:<project name>/<center group>/<group specific> Open Test results Open Test Cases (or any work item) Open Test Runs Open Test Plans Connect to test plans mtm://server:8080/tfs/ProjectCollection/p:Project/testing/testcase/open?id=67 http://blogs.msdn.com/b/vstsqualitytools/archive/2010/02/09/sharing-content-in-microsoft- test-manager.aspx
  • 64. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 12:45 BREAK TILL: Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 14:15 Test impact and recommended tests 11:00 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents (extra time to finish the labs :) 15:45 Test Environments in MTLM
  • 65. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 66. Test Case Specification See also on www.tmap.net: Specification Phase
  • 67. Test Case Shared Steps Test Data Iterations Link test cases and requirements to provide requirement traceability Data drive test cases with different parameters Refactor common shared steps in test cases
  • 69. Test Case Naming of test case: Purpose: • Finding the right test case • Common understanding • Intention from the title • Scan test plans more effectively and efficiently Proposed solution #1 make use of linked work items #2 maximal length of the title 20 characters #3 format <functionality identifier> <action> <additional information> #4 make useful queries
  • 70. Test Case from Excel
  • 72. Test steps Make them descriptive Not every step is a validation step Use the step attachment
  • 74. Test Data Iterations Data drive test cases with different parameters
  • 77. Shared Steps Refactor common shared steps in test cases Reduce test maintenance by sharing test steps across test cases
  • 78. Shared Steps Shared Step candidates? • REUSE – Many steps, reused for many test cases . Benefit: time, retyping, boring work. • EXPECTED CHANGES – for example environment variables change [URL]. Benefit: Time, test cases which need this step are updated automatically, also action recording. • PRE- CONDITIONS – bring the system under test to a certain state and execute the different verifications. Benefit: beside time, you are certain the application under test is in the same state for every test case • BACK TO INITIAL STATE - after test execution bring the environment back to the initial state for new test cases. Benefit: beside time, you are certain the application under test is always in a clean state for new test cases.
  • 79. Shared Steps what about parameters and expected result in shared steps?
  • 80. Lab 4 1. Specify multiple test cases. 2. Add some test data iterations. 3. Create shared step and reuse it. Optional: play with the parameters and expected result steps in the shared steps… Timebox: 15 minuts
  • 81. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 82. Test Execution Test Runner A test that you will want to run multiple times. Different manual tests that contain common steps. Verifying a bug is fixed by using a manual test.
  • 83. Test Case Execution See also on www.tmap.net: Execution Phase
  • 84.
  • 86.
  • 90. View Test Results Using Microsoft Test Manager 1: from the ‘Run Tests’ 2: from the ‘Analyze Test Runs’
  • 91. From Analyze Test Runs Test Results for multiple Test Cases
  • 92. From Run Tests Test Result for a Test Case
  • 94. From TCM run /export id:239 /resultsfile:”c:runresult”
  • 95. Share with mtm:// mtm://clemens-pc:8080/tfs/defaultcollection/p:MSF/Testing/testrun/open?id=292
  • 96. Lab 5 Execute the created test cases, view the results Optional: run them from TCM.exe Timebox: 10 minuts
  • 99.
  • 100.
  • 101.
  • 103. POINT COUNT TREND - I want to see the results for test in a particular test run • RESULT COUNT - I want to see trend report for my tests regardless of build or plan • RESULT COUNT TREND - I want to see trend report for my tests regardless of build or plan • TEST CASE COUNT - I want to see the number of test cases that have been planned for automation
  • 104. Microsoft Test Manager Test Artifact organization
  • 105. Test Plans and TFS items MTLM Client Server TCM Server TFS Plan “Iter Plan “Iteration 2” User Story 2 1”  Suite US1 Suite US2 Test Case A Test Case B Test Case A Task X Plan “Iter Test Case C 3” Test Case D Test Case B Task Y Test Case C Task Z Test Case C
  • 106. Lab 6 Create excel pivot table to list test points per Tester. Timebox: 10 minuts
  • 107. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 Lunch 12:45 LUNCH TILL: Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 14:15 Test impact and recommended tests Break 12:45 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents (extra time to finish the labs :) 15:45 Test Environments in MTLM
  • 108. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 Lunch 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 Break 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 109. Controlling the testing effort BUG’s
  • 111. Diagnostic Data Adapters File a Bug File an Exploratory Bug Verify a Bug
  • 113. File a Bug Submit a Bug using Test Runner
  • 114. Ways to file a Bug Submit a Bug from the Test Runner Submit a Bug from the Verify Bugs View Submit a Bug from Test Results for a Test
  • 115. Verify a Bug Verify a Bug Fix Using Microsoft Test Manager
  • 116. The Bug Flow Link build 2 test plan. T Execute File Bug Verify fix Close or Configure Data E Manual by using reopen collectors. S Tests playback Bug T Build definition is the intergration Setup build and deploy D Resolve Checkin E Bug Build V Deploy
  • 117. Lab 7 Create a build File a bug Resolve a bug Verify a bug Timebox: 15 minuts
  • 118. Bug Reports Bug Status Report Bug Trends Report Reactivations Report
  • 122. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 Lunch 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 Break 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 124. Test Impact Assign build 2 test plan. T Execute Assign Evaluated and reset Execute Execute Configure Data E ‘passed’ ‘NEW’ build tests impacted by ‘passed’ ‘passed’ collectors. S Tests 2 Test Plan code churn Tests Tests T Build definition is the intergration Setup build and deploy D Make Checkin E code Build V changes Deploy
  • 125. Lab 8 Attach build to test plan Execute tests Make code change Kickoff build Attach new build to test plan Evaluate impacted tests Timebox: 15 minuts
  • 127. Iteration N Implement D US2 Sprint E plan Implement Fix bugs V User Story ‘1’ Fix bugs (US1) Build 1 Build 2 Build 3 Build 4 Build 5 Build 6 Build 7 Regress Write tests Test US1 & T Verify fixes impacted for US1 file bugs E Sprint tests S plan Write tests Test US2 & T for US2 Verify fixes file bugs
  • 128. User Stories Key Value: Requirements Planning and corresponding Implement D E Sprint plan Implement US2 done dev tasks. Fix bugs V User Story ‘1’ Fix bugs (US1) Create test tasks Build 1 Build 2 Build 3 Build 4 and 5 Build assign to 7 Build 6 Build someone else. Regress Write tests Test US1 & T Verify fixes impacted for US1 file bugs E Sprint tests S plan Write tests Test US2 & T for US2 Verify fixes file bugs
  • 129. Execute the Test Key Value: Requirements Planning Specification Tasks Implement D Sprint US2 and other test E plan Implement Fix bugs V User Story ‘1’ (US1) tasks Fix bugs Build 1 Build 2 Build 3 Build 4 Build 5 Build 6 Build 7 Regress Write tests Test US1 & T Verify fixes impacted for US1 file bugs E Sprint tests S plan Write tests Test US2 & T for US2 Verify fixes file bugs
  • 130. Execute the Test Key Value: Requirements Planning Implement Execution Tasks D E Sprint Implement US2 and file bugs (if Fix bugs plan V User Story ‘1’ (US1) any) Fix bugs Build 1 Build 2 Build 3 Build 4 Build 5 Build 6 Build 7 Regress Write tests Test US1 & T Verify fixes impacted for US1 file bugs E Sprint tests S plan Write tests Test US2 & T for US2 Verify fixes file bugs
  • 131. Key Value: Virtuous Bug Cycle Dev Implement D US2 solves Sprint E plan Implement Fix bugs V User Story ‘1’ the (US1) Fix bugs bugs. Build 1 Build 2 Build 3 Build 4 Build 5 Build 6 Build 7 Test Regress Verifies WriteUS1 T for tests Test US1 & file bugs Verify fixes impacted E Sprint tests tests S plan Write tests Test US2 & T for US2 Verify fixes file bugs
  • 132. Key Value: Virtuous Bug Cycle Check Implement D US2 Results Sprint E plan Implement Fix bugs V User Story ‘1’ Fix bugs (US1) Build 1 Build 2 Build 3 Build 4 Build 5 Build 6 Build 7 Regress Write tests Test US1 & T Verify fixes impacted for US1 file bugs E Sprint tests S plan Write tests Test US2 & T for US2 Verify fixes file bugs
  • 133. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 Lunch 12:45 BREAK TILL: Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 14:15 Test impact and recommended tests Break 14:30 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents (extra time to finish the labs :) 15:45 Test Environments in MTLM
  • 134. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 Lunch 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 Break 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 136.
  • 137. File an Exploratory Bug Submit an Exploratory Bug using Test Runner
  • 138. PRO: - Reuse scenario knowledge business user - No typing detailed test steps - Easy to parameterize 1 Record scenario by business user with - Writing standards for test steps MTM on application under test. Action - MTM capabilities in step 3. (bug, codedUI, recommended test etc …) recording is captured. Most benefit during step 2 (test case writing), benefit in step 1: run once in common situation. Benefit in step 3: common MTM benefits (record playback, fast forward, parameters etc) and benefit of well written steps. 2 Create test steps (with parameters) in MTM by using the action recording. CON: - Manual actions and tests. - Test steps text are technical names - Action recording (step 1) must be clean. - Unknown what is validated, during step 2, need additional knowledge. - The business user must think of the important scenarios 3 Save test case and execute it by a tester The action recording during step 1 can have on application under test, by using MTM. unnecessary steps, these can be removed during the execution (1) or during the specification (2).
  • 139. Lab 9 Create an exploratory bug and create a test case from it Timebox: 10 minuts
  • 140. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 Lunch 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 Break 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 141. Test Infrastructure Where and how to run the automated test?
  • 142. Test Environments See also on www.TMap.net: - Checklist "Intake Test Environment“ - Checklist "Test Environment“ - Infrastructure Phase
  • 143. Test lab Visual Studio 2010 Lab Management
  • 144. Where and how to run the automated test? physical test environments virtualized test environments
  • 145. physical test virtualized test environments environments MTLM Client MTLM Client Physical Test Client TFS 2010 System Center Virtual TFS 2010 Machine Manager (SCVMM) Hyper-V Library Physical Host Shares Test Client VM VM share share
  • 146. Build application physical test environments versus virtualized test environments Provision Run tests ‘clean’ env Deploy application
  • 147. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 Lunch 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 Break 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 148. Lab for Physical Environments, the different flavors… Visual Studio Team Foundation Server Test Manager Build Server Test Agent Test Agent Test Agent
  • 149. Configurations for automated test execution: A Flavor A: Execution from VS2010… Real developer test / test automation dry run (Triggered by: right mouse click – run tests, in test project) http://msdn.microsoft.com/en-us/library/dd286580.aspx No additional configuration needed* * Data Diagnostic Settings in the Local.Testsettings file are configurable. Pro: Con: Easy setup No collection of test results in TFS Debug-able test automation Run on developer environment
  • 150. Configurations for automated test execution: B Flavor B: Execution during build with Build controller… not recommended, strange to run UI tests on build Part of Build Verification Tests (triggered by: build) Set the Build Service to run in interactive mode http://blogs.msdn.com/b/mathew_aniyan/archive/2009/05/26/coded-ui-test-in-a-team-build.aspx Configure the build to run the tests http://msdn.microsoft.com/en-us/library/ms182465.aspx#CreateBuildType * Data Diagnostic Settings in the *.Testsettings file are configurable. Pro: Con: Easy setup No collection of test results in TFS Test results in build result Build Controller needs to run in interactive mode Tests are executed on build environment Run on build environment
  • 151. Configurations for automated test execution: C Flavor C: Execution during build with Test controller… B Preferred configuration above flavor Part of Build Verification Tests on multiple test agents (triggered by: build) Configure Test Controller (don’t register it with a project collection ) http://msdn.microsoft.com/en-us/library/dd648127.aspx#TestControllers Configure Test Agents on clients (interactive mode) http://msdn.microsoft.com/en-us/library/dd648127.aspx#TestAgents Configure *.Testsettings file in solution to use Test Controller and Test Agents Configure the build to run the tests (see B) Pro: Con: Test run on test environments No collection of test results in TFS Tests run on multiple environments Harder to configure Test Results in Build result Need for specific test client environments Test Settings from VS
  • 152. Configurations for automated test execution: D Flavor D: Execution from Microsoft Test Manager…than BVT Other type of test Part of Regression Tests (triggered by: MTM user, right mouse click on test case, run) Configure Test Controller (register it with a project collection ) Configure Test Agents on clients (interactive mode, can be the same as MTM) Configure Lab Center in MTM to use test controller and create test ‘agent’ environment. http://msdn.microsoft.com/en-us/library/ee390842.aspx http://msdn.microsoft.com/en-us/library/dd293551.aspx Associate CodedUI test with WI Test Case from VS. http://www.richard-banks.org/2010/11/how-to-use-codedui-tests-watin-and-mtm.html Pro: Con: Test run on test environments Manually triggered by Tester Tests run on multiple environments Hard to configure Test Result in MTM and TFS Need for specific test client (same as MTM?) Test Settings from MTM
  • 153. Configurations for automated test execution: E Flavor E: Execution from MTM duringPreferred configuration above flavor C Build… Part of BVT Flavor D and E can be configured together (triggered by: Build) Configure Test Controller (register it with a project collection ) Configure Test Agents on clients (interactive mode, can be the same as MTM) Configure Lab Center in MTM to use test controller and create test ‘agent’ environment. Associate CodedUI test with WI Test Case from VS. Create Build task to run TCM or MSTEST task for Test Plan http://blogs.microsoft.co.il/blogs/shair/archive/2010/10/30/how-to-run-coded-ui-tests-from-command-line.aspx Pro: Con: Test run on test environments Hard to configure Tests run on multiple environments Need for specific test client (same as MTM?) Test Result in MTM and TFS Triggered by build
  • 156. Lab 10 Install and configure the test controller and test agent http://msdn.microsoft.com/en-us/library/dd648127.aspx http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a3216d2a-0530-4f6c-a7c9-0df37c54a902 Timebox: 20 minuts
  • 157. Start Topics 9:00 Introduction, environments setup 9:15 introduction by the students 9:45 Application Lifecycle Management and Visual Studio General 9:55 Test Planning 10:15 Managing, controlling the testing effort, test plans, test suites and test configuration 10:45 BREAK 11:00 Specify test cases and corresponding capabilities of MTM 11:45 Test execution, fast forward, reporting, olap cub 12:00 Lunch 12:45 Bug workflow, infrastructure configuration for data diagnostic adapters 13:30 Test impact and recommended tests 14:15 Break 14:30 Exploratory testing and create test from bug 14:45 Test Controllers and Agents 15:45 Test Environments in MTLM
  • 159.
  • 160.
  • 161.
  • 162.
  • 163.
  • 169. Start Topics DAY 2 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 break 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing