Your SlideShare is downloading. ×
  • Like
  • Save
Application Quality with Visual Studio 2010
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Application Quality with Visual Studio 2010

  • 2,517 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,517
On SlideShare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
0
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Using Microsoft Test Manager,Visual Studio 2010, and TFS 2010 toImprove Software Quality xxarusso@imaginet.com www.imaginet.com © Copyright 2011 Imaginet. All rights reserved.
  • 2. The enclosed material is proprietary to Imaginet and is thereforecopyrighted. This document may not be disclosed in any manner toanyone other than the addressee and the employees orrepresentatives of Notion Solutions who are recipients. Thisdocument may not be used in any manner other than for thepurpose it was distributed. Any unauthorized use, reproduction ortransmission 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 ManagementHow do we manage testing resources? © Copyright 2011 Imaginet. All rights reserved.
  • 5. Managing Test Resources © Copyright 2011 Imaginet. All rights reserved.
  • 6. DemoUsing 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 TestingHow 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 TestsTest Plan Management Web Performance TestsTest Case Management Load TestsShared Steps Generic Tests Management Developer Unit TestsTest Configuration Database Unit Tests ManagementTest Fast ForwardingTest Data CollectorsTest Lab Management © Copyright 2011 Imaginet. All rights reserved.
  • 16. Anna Bots© Copyright 2011 Imaginet. All rights reserved.
  • 17. Test Process • Create Test PlanRelease Cycle Test Plan • Review Test Plan • Write Test CasesRequirements Test Case • Review Test Cases Build/ Execute • Write BugsEnvironment Tests • Verify Bugs Test Run Report • Requirement Traceability Matrix Results • Bug TrendsImprove Test • Identify Automation Candidates Coverage Automation • Create Automation Script © Copyright 2011 Imaginet. All rights reserved.
  • 18. Automated Coded UI Test Recorded Actionsfrom 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 SupportPlatform Support Notes Fully supported platformIE7/8 – HTML/AJAX IE9 supported in SP1. Partial solution. Further work .NET Fx Controls fully supported, working required in future to completeWindows 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 inSharePoint 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 forSilverlight Silverlight 4, in-browser apps. Currently no support but on the roadmap for future releases May work with some known issues, butWindows 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 theMFC 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 AppsIE 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. DemoAutomated Coded UI Testing © Copyright 2011 Imaginet. All rights reserved.
  • 24. Test Lab ManagmentHow 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.