SlideShare a Scribd company logo
1 of 46
Download to read offline
Mitch Denny



              Chief Technology Officer


              mitch.denny@readify.net


              http://notgartner.com

@MitchDenny
• Managing Testing Efforts
• Automating Test Cases
• Deploying Lab Environments
• Terminology
• Demos
  –   Creating Test Plans
  –   Understanding Test Settings
  –   Creating Test Cases
  –   Using Shared Steps
  –   Launching Test Cases
  –   Creating Bugs
  –   Reviewing Results
• Best Practices
• Test Plan; a container for test cases with a
  set time span.
• Test Case; a sequence of steps which must
  be tested.
• Test Run; a group of tests that are being
  run locally or in the lab.
• Test Result; a result from a test case in a
  test run.
Demonstration
Demonstration
Demonstration
Demonstration
Demonstration
Demonstration
Demonstration
•   Test Plans – By Feature Area/By Iteration?
•   Shared Steps – When to Use?
•   Configurations – Common Attributes?
•   Data Recorders – Considerations?
• Coded UI Test; some code that uses the
  UI test automation framework that is
  hosted inside MSTest.
• Coded UI Test Builder; a utility that allows
  you to graphically construct UI tests.
• Action Log Recording; an XML file
  previously recorded via the Test Runner
  with the Action Log Recording data
  collector.
• Terminology
• Demos
  – Create from Action Log Recording
  – Create with Coded UI Test Builder
  – Create from Scratch
  – Using Test Case Data Sources
• Best Practices
Demonstration
Demonstration
Demonstration
Demonstration
• Action Log Recordings - Good or Bad?
• Hand Code? The curse of the UIMap!
• Automation - When to automate?
Legend
                                                  New




        Iteration 1   Iteration 2   Iteration 3              Iteration 4



Story      Story
 #1         #2
Legend
                                                                  New   Changed




        Iteration 1           Iteration 2           Iteration 3                   Iteration 4



Story      Story      Story     Story       Story
 #1         #2         #1        #2          #3

                      Story     Story
                       #4        #5
Legend
                                                                          New     Changed         Stable




        Iteration 1           Iteration 2                   Iteration 3                     Iteration 4



Story      Story      Story     Story       Story   Story     Story       Story
 #1         #2         #1        #2          #3      #1        #2          #3

                      Story     Story               Story    Story        Story
                       #4        #5                  #4       #5           #6

                                                    Story
                                                     #7
Legend
                                                                          New     Changed         Stable




        Iteration 1           Iteration 2                   Iteration 3                     Iteration 4



Story      Story      Story     Story       Story   Story     Story       Story   Story       Story        Story
 #1         #2         #1        #2          #3      #1        #2          #3      #1          #2           #3

                      Story     Story               Story    Story        Story   Story       Story        Story
                       #4        #5                  #4       #5           #6      #4          #5           #6

                                                    Story                         Story       Story        Story
                                                     #7                            #7          #8           #9
Legend
                                                                          New     Changed         Stable




        Iteration 1           Iteration 2                   Iteration 3                     Iteration 4



Story      Story      Story     Story       Story   Story     Story       Story   Story       Story        Story
 #1         #2         #1        #2          #3      #1        #2          #3      #1          #2           #3

                      Story     Story               Story    Story        Story   Story       Story        Story
                       #4        #5                  #4       #5           #6      #4          #5           #6

                                                    Story                         Story       Story        Story
                                                     #7                            #7          #8           #9


                                             Action Log Assisted Testing
Legend
                                                                          New     Changed         Stable




        Iteration 1           Iteration 2                   Iteration 3                     Iteration 4



Story      Story      Story     Story       Story   Story     Story       Story   Story       Story        Story
 #1         #2         #1        #2          #3      #1        #2          #3      #1          #2           #3

                      Story     Story               Story    Story        Story   Story       Story        Story
                       #4        #5                  #4       #5           #6      #4          #5           #6

                                                    Story                         Story       Story        Story
                                                     #7                            #7          #8           #9


                                             Action Log Assisted Testing

                                                                      Coded UI Testing
Legend
                                                                           New     Changed         Stable




        Iteration 1           Iteration 2                    Iteration 3                     Iteration 4



Story      Story      Story     Story        Story   Story     Story       Story   Story       Story        Story
 #1         #2         #1        #2           #3      #1        #2          #3      #1          #2           #3

                      Story     Story                Story    Story        Story   Story       Story        Story
                       #4        #5                   #4       #5           #6      #4          #5           #6

                                                     Story                         Story       Story        Story
                                                      #7                            #7          #8           #9


                                              Action Log Assisted Testing

                                                                       Coded UI Testing

                                            Unit Testing
• Terminology
• Demos
  – Running Automated Tests from MTLM
  – Creating Environments
  – Automating Deployments
  – Nightly Regression Tests
• Best Practices
• Team Build; a component of TFS that
  provides distributed build capability.
• Build Workflow; a XAML file containing
  the instructions to produce a build via
  Team Build.
• Lab Build; a special case build workflow
  designed to automate lab management.
• Lab; the infrastructure you use to test out
  the products you are developing.
• Environment; a specific subset of the lab
  dedicated to a particular team project.
• Hyper-V; the virtualisation technology
  created by Microsoft.
• SCVMM; a product from the System
  Centre suite designed to manage multiple
  Hyper-V hosts.
• Library; a storage location for saved VMs,
  ISO images etc.
• Snapshot/Checkpoint; a point in time
  version of a lab machine (memory + disk).
Demonstration
Demonstration
Demonstration
Demonstration
•   Snapshotting – Pre/Post?
•   Reporting - Track Quality, Track Activity
•   Network Isolation – What is it? Why?
•   Environment Configuration – How?
Remote
                                                              Active
Internet                            Access
                                                             Directory
                                   Gateway

     VPN (Encrypted)
     RDP (Encrypted)                                           Multi-
    HTTP (Encrypted)                                         Tenant TFS


                        Firewall                              Hyper-V
                                                               Farm
                                                              (VMM)
                                   Customer     Customer
                                     Build        Build
                                   Server(s)    Server(s)

                                   Dedicated    Dedicated
                                    Dedicated    Dedicated     Other
                                     Lab          Lab            Other
    optional external                  Lab          Lab       Services
                                   Machines     Machines       Services
        exposure                    Machines     Machines
• Managing Testing Efforts
• Automating Test Cases
• Deploying Lab Environments
• http://blogs.msdn.com/lab_management/
• http://vslabmgmt.codeplex.com
• http://channel9.msdn.com/tags/ALM/
• Visual Studio 2010 Workshop (1 day)
• Implementation Consulting
• Virtual Build Master (Managed Service)
Mitch Denny



              Chief Technology Officer


              mitch.denny@readify.net


              http://notgartner.com

@MitchDenny

More Related Content

Viewers also liked

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
 
DaKiRY_BAQ2016_QADay_Marta Firlej "Microsoft Test Manager tool – how can we u...
DaKiRY_BAQ2016_QADay_Marta Firlej "Microsoft Test Manager tool – how can we u...DaKiRY_BAQ2016_QADay_Marta Firlej "Microsoft Test Manager tool – how can we u...
DaKiRY_BAQ2016_QADay_Marta Firlej "Microsoft Test Manager tool – how can we u...Dakiry
 
Introduction to Team Foundation Server (TFS) Online
Introduction to Team Foundation Server (TFS) OnlineIntroduction to Team Foundation Server (TFS) Online
Introduction to Team Foundation Server (TFS) OnlineDenis Voituron
 
OPASS - Microsoft Test Manager
OPASS - Microsoft Test ManagerOPASS - Microsoft Test Manager
OPASS - Microsoft Test ManagerEsteban Garcia
 
End-To-End Visual Studio Application Lifecycle Management
End-To-End Visual Studio Application Lifecycle ManagementEnd-To-End Visual Studio Application Lifecycle Management
End-To-End Visual Studio Application Lifecycle ManagementHosam Kamel
 
Automatización de la calidad con Microsoft Test Manager, CodedUI y Lab Manage...
Automatización de la calidad con Microsoft Test Manager, CodedUI y Lab Manage...Automatización de la calidad con Microsoft Test Manager, CodedUI y Lab Manage...
Automatización de la calidad con Microsoft Test Manager, CodedUI y Lab Manage...Globe Testing
 
MSDN Latam - Microsoft Test Manager and Lab Management with Visual Studio ALM
MSDN Latam - Microsoft Test Manager and Lab Management with Visual Studio ALMMSDN Latam - Microsoft Test Manager and Lab Management with Visual Studio ALM
MSDN Latam - Microsoft Test Manager and Lab Management with Visual Studio ALMBruno Capuano
 
Run Selenium Tests With Microsoft Test Manager
Run Selenium Tests With Microsoft Test ManagerRun Selenium Tests With Microsoft Test Manager
Run Selenium Tests With Microsoft Test ManagerDaniel Herken
 
Introduction To Work Item Customisation
Introduction To Work Item CustomisationIntroduction To Work Item Customisation
Introduction To Work Item Customisationwbarthol
 
Security best practices for hyper v and server virtualisation [svr307]
Security best practices for hyper v and server virtualisation [svr307]Security best practices for hyper v and server virtualisation [svr307]
Security best practices for hyper v and server virtualisation [svr307]Louis Göhl
 
Windows Server 2008 R2 Hyper-V SP1 Component Architecture
Windows Server 2008 R2 Hyper-V SP1 Component Architecture Windows Server 2008 R2 Hyper-V SP1 Component Architecture
Windows Server 2008 R2 Hyper-V SP1 Component Architecture Tũi Wichets
 
Understanding AzMan In Hyper-V
Understanding AzMan In Hyper-VUnderstanding AzMan In Hyper-V
Understanding AzMan In Hyper-VLai Yoong Seng
 
SQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerSQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerMichael Rys
 
Rodc features
Rodc featuresRodc features
Rodc featurespothurajr
 
Web 2.0 using Microsoft Technologies
Web 2.0 using Microsoft TechnologiesWeb 2.0 using Microsoft Technologies
Web 2.0 using Microsoft TechnologiesAbhishek Kant
 
Class graph neo4j and software metrics
Class graph neo4j and software metricsClass graph neo4j and software metrics
Class graph neo4j and software metricsjexp
 
Application Lifecycle Management mit Team Foundation Server (TFS)
Application Lifecycle Management mit Team Foundation Server (TFS)Application Lifecycle Management mit Team Foundation Server (TFS)
Application Lifecycle Management mit Team Foundation Server (TFS)Digicomp Academy AG
 

Viewers also liked (18)

Tfs introduction
Tfs introductionTfs introduction
Tfs introduction
 
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
 
DaKiRY_BAQ2016_QADay_Marta Firlej "Microsoft Test Manager tool – how can we u...
DaKiRY_BAQ2016_QADay_Marta Firlej "Microsoft Test Manager tool – how can we u...DaKiRY_BAQ2016_QADay_Marta Firlej "Microsoft Test Manager tool – how can we u...
DaKiRY_BAQ2016_QADay_Marta Firlej "Microsoft Test Manager tool – how can we u...
 
Introduction to Team Foundation Server (TFS) Online
Introduction to Team Foundation Server (TFS) OnlineIntroduction to Team Foundation Server (TFS) Online
Introduction to Team Foundation Server (TFS) Online
 
OPASS - Microsoft Test Manager
OPASS - Microsoft Test ManagerOPASS - Microsoft Test Manager
OPASS - Microsoft Test Manager
 
End-To-End Visual Studio Application Lifecycle Management
End-To-End Visual Studio Application Lifecycle ManagementEnd-To-End Visual Studio Application Lifecycle Management
End-To-End Visual Studio Application Lifecycle Management
 
Automatización de la calidad con Microsoft Test Manager, CodedUI y Lab Manage...
Automatización de la calidad con Microsoft Test Manager, CodedUI y Lab Manage...Automatización de la calidad con Microsoft Test Manager, CodedUI y Lab Manage...
Automatización de la calidad con Microsoft Test Manager, CodedUI y Lab Manage...
 
MSDN Latam - Microsoft Test Manager and Lab Management with Visual Studio ALM
MSDN Latam - Microsoft Test Manager and Lab Management with Visual Studio ALMMSDN Latam - Microsoft Test Manager and Lab Management with Visual Studio ALM
MSDN Latam - Microsoft Test Manager and Lab Management with Visual Studio ALM
 
Run Selenium Tests With Microsoft Test Manager
Run Selenium Tests With Microsoft Test ManagerRun Selenium Tests With Microsoft Test Manager
Run Selenium Tests With Microsoft Test Manager
 
Introduction To Work Item Customisation
Introduction To Work Item CustomisationIntroduction To Work Item Customisation
Introduction To Work Item Customisation
 
Security best practices for hyper v and server virtualisation [svr307]
Security best practices for hyper v and server virtualisation [svr307]Security best practices for hyper v and server virtualisation [svr307]
Security best practices for hyper v and server virtualisation [svr307]
 
Windows Server 2008 R2 Hyper-V SP1 Component Architecture
Windows Server 2008 R2 Hyper-V SP1 Component Architecture Windows Server 2008 R2 Hyper-V SP1 Component Architecture
Windows Server 2008 R2 Hyper-V SP1 Component Architecture
 
Understanding AzMan In Hyper-V
Understanding AzMan In Hyper-VUnderstanding AzMan In Hyper-V
Understanding AzMan In Hyper-V
 
SQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerSQL and NoSQL in SQL Server
SQL and NoSQL in SQL Server
 
Rodc features
Rodc featuresRodc features
Rodc features
 
Web 2.0 using Microsoft Technologies
Web 2.0 using Microsoft TechnologiesWeb 2.0 using Microsoft Technologies
Web 2.0 using Microsoft Technologies
 
Class graph neo4j and software metrics
Class graph neo4j and software metricsClass graph neo4j and software metrics
Class graph neo4j and software metrics
 
Application Lifecycle Management mit Team Foundation Server (TFS)
Application Lifecycle Management mit Team Foundation Server (TFS)Application Lifecycle Management mit Team Foundation Server (TFS)
Application Lifecycle Management mit Team Foundation Server (TFS)
 

Managing Testing Efforts with Automated Test Cases and Lab Environments

  • 1.
  • 2. Mitch Denny Chief Technology Officer mitch.denny@readify.net http://notgartner.com @MitchDenny
  • 3. • Managing Testing Efforts • Automating Test Cases • Deploying Lab Environments
  • 4.
  • 5. • Terminology • Demos – Creating Test Plans – Understanding Test Settings – Creating Test Cases – Using Shared Steps – Launching Test Cases – Creating Bugs – Reviewing Results • Best Practices
  • 6. • Test Plan; a container for test cases with a set time span. • Test Case; a sequence of steps which must be tested. • Test Run; a group of tests that are being run locally or in the lab. • Test Result; a result from a test case in a test run.
  • 14. Test Plans – By Feature Area/By Iteration? • Shared Steps – When to Use? • Configurations – Common Attributes? • Data Recorders – Considerations?
  • 15.
  • 16. • Coded UI Test; some code that uses the UI test automation framework that is hosted inside MSTest. • Coded UI Test Builder; a utility that allows you to graphically construct UI tests. • Action Log Recording; an XML file previously recorded via the Test Runner with the Action Log Recording data collector.
  • 17. • Terminology • Demos – Create from Action Log Recording – Create with Coded UI Test Builder – Create from Scratch – Using Test Case Data Sources • Best Practices
  • 22. • Action Log Recordings - Good or Bad? • Hand Code? The curse of the UIMap! • Automation - When to automate?
  • 23. Legend New Iteration 1 Iteration 2 Iteration 3 Iteration 4 Story Story #1 #2
  • 24. Legend New Changed Iteration 1 Iteration 2 Iteration 3 Iteration 4 Story Story Story Story Story #1 #2 #1 #2 #3 Story Story #4 #5
  • 25. Legend New Changed Stable Iteration 1 Iteration 2 Iteration 3 Iteration 4 Story Story Story Story Story Story Story Story #1 #2 #1 #2 #3 #1 #2 #3 Story Story Story Story Story #4 #5 #4 #5 #6 Story #7
  • 26. Legend New Changed Stable Iteration 1 Iteration 2 Iteration 3 Iteration 4 Story Story Story Story Story Story Story Story Story Story Story #1 #2 #1 #2 #3 #1 #2 #3 #1 #2 #3 Story Story Story Story Story Story Story Story #4 #5 #4 #5 #6 #4 #5 #6 Story Story Story Story #7 #7 #8 #9
  • 27. Legend New Changed Stable Iteration 1 Iteration 2 Iteration 3 Iteration 4 Story Story Story Story Story Story Story Story Story Story Story #1 #2 #1 #2 #3 #1 #2 #3 #1 #2 #3 Story Story Story Story Story Story Story Story #4 #5 #4 #5 #6 #4 #5 #6 Story Story Story Story #7 #7 #8 #9 Action Log Assisted Testing
  • 28. Legend New Changed Stable Iteration 1 Iteration 2 Iteration 3 Iteration 4 Story Story Story Story Story Story Story Story Story Story Story #1 #2 #1 #2 #3 #1 #2 #3 #1 #2 #3 Story Story Story Story Story Story Story Story #4 #5 #4 #5 #6 #4 #5 #6 Story Story Story Story #7 #7 #8 #9 Action Log Assisted Testing Coded UI Testing
  • 29. Legend New Changed Stable Iteration 1 Iteration 2 Iteration 3 Iteration 4 Story Story Story Story Story Story Story Story Story Story Story #1 #2 #1 #2 #3 #1 #2 #3 #1 #2 #3 Story Story Story Story Story Story Story Story #4 #5 #4 #5 #6 #4 #5 #6 Story Story Story Story #7 #7 #8 #9 Action Log Assisted Testing Coded UI Testing Unit Testing
  • 30.
  • 31. • Terminology • Demos – Running Automated Tests from MTLM – Creating Environments – Automating Deployments – Nightly Regression Tests • Best Practices
  • 32. • Team Build; a component of TFS that provides distributed build capability. • Build Workflow; a XAML file containing the instructions to produce a build via Team Build. • Lab Build; a special case build workflow designed to automate lab management.
  • 33. • Lab; the infrastructure you use to test out the products you are developing. • Environment; a specific subset of the lab dedicated to a particular team project. • Hyper-V; the virtualisation technology created by Microsoft. • SCVMM; a product from the System Centre suite designed to manage multiple Hyper-V hosts.
  • 34. • Library; a storage location for saved VMs, ISO images etc. • Snapshot/Checkpoint; a point in time version of a lab machine (memory + disk).
  • 39. Snapshotting – Pre/Post? • Reporting - Track Quality, Track Activity • Network Isolation – What is it? Why? • Environment Configuration – How?
  • 40. Remote Active Internet Access Directory Gateway VPN (Encrypted) RDP (Encrypted) Multi- HTTP (Encrypted) Tenant TFS Firewall Hyper-V Farm (VMM) Customer Customer Build Build Server(s) Server(s) Dedicated Dedicated Dedicated Dedicated Other Lab Lab Other optional external Lab Lab Services Machines Machines Services exposure Machines Machines
  • 41. • Managing Testing Efforts • Automating Test Cases • Deploying Lab Environments
  • 43. • Visual Studio 2010 Workshop (1 day) • Implementation Consulting • Virtual Build Master (Managed Service)
  • 44.
  • 45.
  • 46. Mitch Denny Chief Technology Officer mitch.denny@readify.net http://notgartner.com @MitchDenny