SlideShare a Scribd company logo
Using Microsoft Test Manager,
Visual Studio 2010, and TFS 2010 to
Improve Software Quality
              xx




arusso@imaginet.com




                                                                        www.imaginet.com
                      © Copyright 2011 Imaginet. All rights reserved.
The enclosed material is proprietary to Imaginet and is therefore
copyrighted. This document may not be disclosed in any manner to
anyone other than the addressee and the employees or
representatives of Notion Solutions who are recipients. This
document may not be used in any manner other than for the
purpose it was distributed. Any unauthorized use, reproduction or
transmission in any form is strictly prohibited.




                                                                              www.imaginet.com
                            © Copyright 2011 Imaginet. All rights reserved.
Agenda
• Managing Test
  Resources
• Reporting of “Done”
• Test Automation
• Improving Software
  Quality


              © Copyright 2011 Imaginet. All rights reserved.
Work Management
How do we manage testing resources?




                      © Copyright 2011 Imaginet. All rights reserved.
Managing Test Resources




       © Copyright 2011 Imaginet. All rights reserved.
Demo
Using Planning Workbooks




        © Copyright 2011 Imaginet. All rights reserved.
Reporting of “Done”
What is the end goal?




                © Copyright 2011 Imaginet. All rights reserved.
Improved Reporting




© Copyright 2010 Imaginet. All rights reserved.
Improved Reporting




© Copyright 2010 Imaginet. All rights reserved.
What’s the value?
                                                  Are we making progress    How are our builds
                                                   on running test plans?    doing over time?




                                                                            What’s the quality of
                                                   Are we fixing bugs?
                                                                              our bug fixes?




© Copyright 2010 Imaginet. All rights reserved.
Improved Test Reporting




© Copyright 2010 Imaginet. All rights reserved.
Improved Bug Reporting




© Copyright 2010 Imaginet. All rights reserved.
Reporting




© Copyright 2010 Imaginet. All rights reserved.
Automated Testing
How does Automation
 help?




               © Copyright 2011 Imaginet. All rights reserved.
Microsoft Testing
                  Tools
 Microsoft Test Manager                        Visual Studio 2010
            2010                            Automated Testing Tools
  Manual Testing Tools                     Coded UI Tests
Test Plan Management                       Web Performance Tests
Test Case Management                       Load Tests
Shared Steps                               Generic Tests
  Management
                                           Developer Unit Tests
Test Configuration
                                           Database Unit Tests
  Management
Test Fast Forwarding
Test Data Collectors
Test Lab Management
                  © Copyright 2011 Imaginet. All rights reserved.
Anna Bots




© Copyright 2011 Imaginet. All rights reserved.
Test Process

                                                              • Create Test Plan
Release Cycle             Test Plan                           • Review Test Plan


                                                              • Write Test Cases
Requirements              Test Case                           • Review Test Cases

   Build/                   Execute                           • Write Bugs
Environment                  Tests                            • Verify Bugs


  Test Run                   Report                           • Requirement Traceability Matrix
                             Results                          • Bug Trends

Improve Test                                                  • Identify Automation Candidates
  Coverage
                      Automation                              • Create Automation Script
                © Copyright 2011 Imaginet. All rights reserved.
Automated Coded UI Test

 Recorded
  Actions
from Manual
   Tester                                                            Automated
                                                                    Coded UI Test

              +            Validation
                             Code                               =
 Use Visual
  Studio
 Recorder


              © Copyright 2011 Imaginet. All rights reserved.
Best Practices (From MSDN)
•   Create each test case as a sequence of Recorded
    Methods.
•   Use meaningful method names.
•   Try to limit the length of each recorded method to less
    than 10 actions.
•   Do not modify the RecordedMethods.cs file.
•   Do not edit the UIMap.Designer.cs file.




                      © Copyright 2011 Imaginet. All rights reserved.
Playback.PlaybackSettings
•   Continue on Error …
•   DelayBetweenActions
•   MatchExactHierarchy
•   SearchTimeout
•   SmartMatchOptions
    •   TopLevelWindow
    •   Control
    •   None
•   ThinkTimeMultiplier
•   WaitForReadyTimeout


                     © Copyright 2011 Imaginet. All rights reserved.
UITestControl.WaitForControl…
•   WaitForControlReady() – This waits for the control to be ready to
    accept mouse/keyboard input.
•   WaitForControlEnabled() – This waits for the control to be enabled.
•   WaitForControlExist() – This waits for the control to exist on the UI.
•   WaitForControlNotExist() – This waits till the control cease to exist
    on the UI. For example, you can use this for progress dialog to go
    away.
•   WaitForControlPropertyEqual(string propertyName, object
    propertyValue) – This waits for the specified property of the control to
    have the given value.




                           © Copyright 2011 Imaginet. All rights reserved.
Automation Platform Support
Platform                                  Support   Notes                                       Fully supported platform

IE7/8 – HTML/AJAX                                   IE9 supported in SP1.
                                                                                                Partial solution. Further work
                                                    .NET Fx Controls fully supported, working   required in future to complete
Windows Forms 2.0+                                  on 3rd party support.
                                                    .NET Fx Controls fully supported, working
                                                                                                Best efforts with known issues.
WPF 3.5+                                            on 3rd party support.
                                                                                                Users can workaround these cases in
SharePoint 2007 & 2010                              See blog post for more info.                the code. No major ongoing
                                                                                                investment.
                                                    Supported in Feature Pack 2 for FF 3.5 &
FireFox – HTML/AJAX
                                                    3.6.
                                                    Supported in Feature Pack 2 for
Silverlight
                                                    Silverlight 4, in-browser apps.             Currently no support but on the
                                                                                                roadmap for future releases
                                                    May work with some known issues, but
Windows Win32
                                                    not officially supported.
                                                    Partially supported – see article.
Dynamics (Ax)                                       Dynamics CRM web client is supported.       Currently no support and none
                                                                                                planned for now. Opportunity for
                                                    Partial support – Known issues &            partners to add this using the
MFC                                                                                             Extensibility support. Docs and
                                                    Workarounds
                                                                                                samples around extensibility are
                                                    The client (MTM or VS) need to be on        here.
Citrix/Terminal Services
                                                    the remote machine.
Office Client Apps

IE 6/Chrome/Opera/Safari                            Opportunity for partners to add this
                                                    using the Extensibility support. Docs and
                                                                                                For latest info refer to this article.
Flash/Java                                          samples around extensibility are here.
SAP 2010 Imaginet. All rights reserved.
© Copyright
Demo
Automated Coded UI Testing




      © Copyright 2011 Imaginet. All rights reserved.
Test Lab Managment
How do we integrate VM’s for
 manual or automated
 testing?




                  © Copyright 2011 Imaginet. All rights reserved.
Environment (collection
                                                 of VMs) created


© Copyright 2010 Imaginet. AllConfidential
   25         Microsoft rights reserved.
Manage snapshots for
                                                   environment




                                              Access environment
                                             using Lab Environment
                                                     Viewer



© Copyright 2010 Imaginet. AllConfidential
   26         Microsoft rights reserved.
Improve Software Quality by
                                                    Layering Best Practices
                                Process and tools support individuals, teams and
                                  organizations frictionlessly and transparently




                                       Overcome Complexity            Collaboration          Clarity
                                       Quality Mindset                Transparency           Alignment
                                       Culture of Innovation          Integration            Efficiency



                                    Highly integrated            Productive     Extensible   Low administration



                     Agile                        Customizable   Lightweight      Patterns and practices   Flexible
© Copyright 2010 Imaginet. All rights reserved.
© Copyright 2011 Imaginet. All rights reserved.
www.imaginet.com




  © Copyright 2011 Imaginet. All rights reserved.

More Related Content

PPTX
The Design Process - FRC
PPS
Dacj 2-2 a
PPTX
Scaling Continuous Integration Practices to Teams with Parallel Development
PDF
LatJUG. Spring Roo
PPTX
Oslo Schibsted Performance Gathering
PPTX
2012 selenium kiev_08_final
PPTX
Visual Studio Application Lifecycle Managment end-to-end
PDF
Shirly Ronen - User story testing activities
The Design Process - FRC
Dacj 2-2 a
Scaling Continuous Integration Practices to Teams with Parallel Development
LatJUG. Spring Roo
Oslo Schibsted Performance Gathering
2012 selenium kiev_08_final
Visual Studio Application Lifecycle Managment end-to-end
Shirly Ronen - User story testing activities

What's hot (11)

PDF
Shirly Ronen - Documenting an agile defect
PDF
Visual Studio 2010: A Perspective - David Chappell
PDF
Shirly Ronen - rapid release flow and agile testing-as
PPT
Online Exam Management by Skill Evaluation Lab
PDF
Testing in the lifecycle
PDF
Flex Continuous Quality Builds Flex & (Ant || Maven)
PDF
As2 vs as3
PDF
ADOBE CREATIVE SUITE 5 Web Premiumご紹介
PDF
Part 6 debugging and testing java applications
PDF
Why Test Driven Development?
PDF
Lean agile pt
Shirly Ronen - Documenting an agile defect
Visual Studio 2010: A Perspective - David Chappell
Shirly Ronen - rapid release flow and agile testing-as
Online Exam Management by Skill Evaluation Lab
Testing in the lifecycle
Flex Continuous Quality Builds Flex & (Ant || Maven)
As2 vs as3
ADOBE CREATIVE SUITE 5 Web Premiumご紹介
Part 6 debugging and testing java applications
Why Test Driven Development?
Lean agile pt
Ad

Viewers also liked (20)

PPTX
Uso educativo de las wiki
PPTX
No More No Repro
PPS
Tu familia
PPTX
Drogadiccion joel eduardo 22
PDF
Actividades de cierre_primer-
DOCX
El preu de la responsabilitat.
PPSX
Ensayo moodle
PPTX
Pausa (1)
PPTX
Presentación1 deber informatik basik
PDF
PPTX
Laborategi globala ondo eginda
PDF
ABAWDchange_ExecutiveSummary.docx
DOC
CV_HOSMATH_RAVI
PDF
POESIAS DE QUEM NÃO SE ACHA POETA - Rosto
PPTX
El papel
PDF
Accomplishment-Coursera-gametheory 2015
PPTX
Nicolazzi - многообразие ручек и отделок
PPTX
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
PPTX
Mi e portafolio
PDF
Análise e Planejamento para Rádio Antena 1
Uso educativo de las wiki
No More No Repro
Tu familia
Drogadiccion joel eduardo 22
Actividades de cierre_primer-
El preu de la responsabilitat.
Ensayo moodle
Pausa (1)
Presentación1 deber informatik basik
Laborategi globala ondo eginda
ABAWDchange_ExecutiveSummary.docx
CV_HOSMATH_RAVI
POESIAS DE QUEM NÃO SE ACHA POETA - Rosto
El papel
Accomplishment-Coursera-gametheory 2015
Nicolazzi - многообразие ручек и отделок
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
Mi e portafolio
Análise e Planejamento para Rádio Antena 1
Ad

Similar to Application Quality with Visual Studio 2010 (20)

PDF
Keynote: Next Generation Testing
PPTX
Getting Started with Coded UI Testing: Building Your First Automated Test
PPTX
Streamlining Testing with Visual Studio 2012
PPTX
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
PPTX
The Newest of the New with Visual Studio and TFS 2012
PPTX
The Newest of the New with Visual Studio and TFS 2012
PPTX
Automated testing with visual studio 2010
PPTX
Agile testing for agile sparks kanban clients
PDF
Visual studio performance testing quick reference guide 3 6
PPTX
A Day in the Life: Developer Enhancements with Visual Studio 2012
PPTX
Quality Coding: What's New with Visual Studio 2012
PPTX
Quality Coding: What’s New with Visual Studio 2012
PDF
Testingfor continuousdeliverywithvisualstudio2012
PPTX
Quality Coding with Visual Studio 2012
PDF
SaaS Testing on an Agile World
PPTX
Improving Software quality for the Modern Web
PDF
Open Source Test Workshop for CIOs, CTOs, Managers
PPTX
HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing Tools
PDF
Testing a SaaS Platform
PDF
Tccc10 tooling testingci-vs2010teamcity
Keynote: Next Generation Testing
Getting Started with Coded UI Testing: Building Your First Automated Test
Streamlining Testing with Visual Studio 2012
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
The Newest of the New with Visual Studio and TFS 2012
The Newest of the New with Visual Studio and TFS 2012
Automated testing with visual studio 2010
Agile testing for agile sparks kanban clients
Visual studio performance testing quick reference guide 3 6
A Day in the Life: Developer Enhancements with Visual Studio 2012
Quality Coding: What's New with Visual Studio 2012
Quality Coding: What’s New with Visual Studio 2012
Testingfor continuousdeliverywithvisualstudio2012
Quality Coding with Visual Studio 2012
SaaS Testing on an Agile World
Improving Software quality for the Modern Web
Open Source Test Workshop for CIOs, CTOs, Managers
HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing Tools
Testing a SaaS Platform
Tccc10 tooling testingci-vs2010teamcity

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Big Data Technologies - Introduction.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
Teaching material agriculture food technology
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Empathic Computing: Creating Shared Understanding
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Modernizing your data center with Dell and AMD
Machine learning based COVID-19 study performance prediction
20250228 LYD VKU AI Blended-Learning.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Big Data Technologies - Introduction.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Spectral efficient network and resource selection model in 5G networks
CIFDAQ's Market Insight: SEC Turns Pro Crypto
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Teaching material agriculture food technology
NewMind AI Monthly Chronicles - July 2025
Empathic Computing: Creating Shared Understanding
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Per capita expenditure prediction using model stacking based on satellite ima...
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
MYSQL Presentation for SQL database connectivity
Modernizing your data center with Dell and AMD

Application Quality with Visual Studio 2010

  • 1. Using Microsoft Test Manager, Visual Studio 2010, and TFS 2010 to Improve Software Quality xx arusso@imaginet.com www.imaginet.com © Copyright 2011 Imaginet. All rights reserved.
  • 2. The enclosed material is proprietary to Imaginet and is therefore copyrighted. This document may not be disclosed in any manner to anyone other than the addressee and the employees or representatives of Notion Solutions who are recipients. This document may not be used in any manner other than for the purpose it was distributed. Any unauthorized use, reproduction or transmission in any form is strictly prohibited. www.imaginet.com © Copyright 2011 Imaginet. All rights reserved.
  • 3. Agenda • Managing Test Resources • Reporting of “Done” • Test Automation • Improving Software Quality © Copyright 2011 Imaginet. All rights reserved.
  • 4. Work Management How do we manage testing resources? © Copyright 2011 Imaginet. All rights reserved.
  • 5. Managing Test Resources © Copyright 2011 Imaginet. All rights reserved.
  • 6. Demo Using Planning Workbooks © Copyright 2011 Imaginet. All rights reserved.
  • 7. Reporting of “Done” What is the end goal? © Copyright 2011 Imaginet. All rights reserved.
  • 8. Improved Reporting © Copyright 2010 Imaginet. All rights reserved.
  • 9. Improved Reporting © Copyright 2010 Imaginet. All rights reserved.
  • 10. What’s the value? Are we making progress How are our builds on running test plans? doing over time? What’s the quality of Are we fixing bugs? our bug fixes? © Copyright 2010 Imaginet. All rights reserved.
  • 11. Improved Test Reporting © Copyright 2010 Imaginet. All rights reserved.
  • 12. Improved Bug Reporting © Copyright 2010 Imaginet. All rights reserved.
  • 13. Reporting © Copyright 2010 Imaginet. All rights reserved.
  • 14. Automated Testing How does Automation help? © Copyright 2011 Imaginet. All rights reserved.
  • 15. Microsoft Testing Tools Microsoft Test Manager Visual Studio 2010 2010 Automated Testing Tools Manual Testing Tools Coded UI Tests Test Plan Management Web Performance Tests Test Case Management Load Tests Shared Steps Generic Tests Management Developer Unit Tests Test Configuration Database Unit Tests Management Test Fast Forwarding Test Data Collectors Test Lab Management © Copyright 2011 Imaginet. All rights reserved.
  • 16. Anna Bots © Copyright 2011 Imaginet. All rights reserved.
  • 17. Test Process • Create Test Plan Release Cycle Test Plan • Review Test Plan • Write Test Cases Requirements Test Case • Review Test Cases Build/ Execute • Write Bugs Environment Tests • Verify Bugs Test Run Report • Requirement Traceability Matrix Results • Bug Trends Improve Test • Identify Automation Candidates Coverage Automation • Create Automation Script © Copyright 2011 Imaginet. All rights reserved.
  • 18. Automated Coded UI Test Recorded Actions from Manual Tester Automated Coded UI Test + Validation Code = Use Visual Studio Recorder © Copyright 2011 Imaginet. All rights reserved.
  • 19. Best Practices (From MSDN) • Create each test case as a sequence of Recorded Methods. • Use meaningful method names. • Try to limit the length of each recorded method to less than 10 actions. • Do not modify the RecordedMethods.cs file. • Do not edit the UIMap.Designer.cs file. © Copyright 2011 Imaginet. All rights reserved.
  • 20. Playback.PlaybackSettings • Continue on Error … • DelayBetweenActions • MatchExactHierarchy • SearchTimeout • SmartMatchOptions • TopLevelWindow • Control • None • ThinkTimeMultiplier • WaitForReadyTimeout © Copyright 2011 Imaginet. All rights reserved.
  • 21. UITestControl.WaitForControl… • WaitForControlReady() – This waits for the control to be ready to accept mouse/keyboard input. • WaitForControlEnabled() – This waits for the control to be enabled. • WaitForControlExist() – This waits for the control to exist on the UI. • WaitForControlNotExist() – This waits till the control cease to exist on the UI. For example, you can use this for progress dialog to go away. • WaitForControlPropertyEqual(string propertyName, object propertyValue) – This waits for the specified property of the control to have the given value. © Copyright 2011 Imaginet. All rights reserved.
  • 22. Automation Platform Support Platform Support Notes Fully supported platform IE7/8 – HTML/AJAX IE9 supported in SP1. Partial solution. Further work .NET Fx Controls fully supported, working required in future to complete Windows Forms 2.0+ on 3rd party support. .NET Fx Controls fully supported, working Best efforts with known issues. WPF 3.5+ on 3rd party support. Users can workaround these cases in SharePoint 2007 & 2010 See blog post for more info. the code. No major ongoing investment. Supported in Feature Pack 2 for FF 3.5 & FireFox – HTML/AJAX 3.6. Supported in Feature Pack 2 for Silverlight Silverlight 4, in-browser apps. Currently no support but on the roadmap for future releases May work with some known issues, but Windows Win32 not officially supported. Partially supported – see article. Dynamics (Ax) Dynamics CRM web client is supported. Currently no support and none planned for now. Opportunity for Partial support – Known issues & partners to add this using the MFC Extensibility support. Docs and Workarounds samples around extensibility are The client (MTM or VS) need to be on here. Citrix/Terminal Services the remote machine. Office Client Apps IE 6/Chrome/Opera/Safari Opportunity for partners to add this using the Extensibility support. Docs and For latest info refer to this article. Flash/Java samples around extensibility are here. SAP 2010 Imaginet. All rights reserved. © Copyright
  • 23. Demo Automated Coded UI Testing © Copyright 2011 Imaginet. All rights reserved.
  • 24. Test Lab Managment How do we integrate VM’s for manual or automated testing? © Copyright 2011 Imaginet. All rights reserved.
  • 25. Environment (collection of VMs) created © Copyright 2010 Imaginet. AllConfidential 25 Microsoft rights reserved.
  • 26. Manage snapshots for environment Access environment using Lab Environment Viewer © Copyright 2010 Imaginet. AllConfidential 26 Microsoft rights reserved.
  • 27. Improve Software Quality by Layering Best Practices Process and tools support individuals, teams and organizations frictionlessly and transparently Overcome Complexity Collaboration Clarity Quality Mindset Transparency Alignment Culture of Innovation Integration Efficiency Highly integrated Productive Extensible Low administration Agile Customizable Lightweight Patterns and practices Flexible © Copyright 2010 Imaginet. All rights reserved.
  • 28. © Copyright 2011 Imaginet. All rights reserved.
  • 29. www.imaginet.com © Copyright 2011 Imaginet. All rights reserved.