Creating Robust, Maintainable Coded UI Tests with Visual Studio 2012 Brian Keller Sr. Technical Evangelist Microsoft Corporation DEV312.

Slides:



Advertisements
Similar presentations
Continuous Feedback in Agile Teams Ed Glas Principal Test Manager, TFS Microsoft Corporation Sebastian Holst Chief Marketing Officer PreEmptive Solutions.
Advertisements

Application Lifecycle Management: Its a Team Sport Brian Keller Sr. Technical Evangelist Microsoft Corporation.
Automating Server-based Build, QA & Test with Visual Studio 2012 Neno Loje Consultant & MVP for Visual Studio ALM, TFS, and Scrum
Introducing the New Visual Studio 2012 Unit Testing Experience Peter Provost Sr. Program Manager Lead Microsoft Corporation DEV214.
Working on an Agile Team with Visual Studio 2012 and Team Foundation Server 2012 Peter Provost Sr. Program Manager Lead Microsoft Corporation DEV318.
Introducing the New Visual Studio 2012 Unit Testing Experience Peter Provost Sr. Program Manager Lead Microsoft Corporation DEV214.
Dev-Ops Best Practices on the Microsoft Stack Victor Mushkatin Group Program Manager Microsoft Corporation DEV363.
DEV309.
Deep Dive into the Team Foundation Server 2012 Agile Planning Tools Gregg Boer Principal Program Manager Microsoft Corporation.
Data Mining 2012 with Microsoft Excel 2010 and PowerPivot Mark Tabladillo, Ph.D. Microsoft MVP, Data Mining Architect MarkTab Consulting DBI204.
Software Testing with Microsoft Test Manager 2012 and Lab Management
4/19/2017 7:47 PM DBI311 Microsoft SQL Server Data Tools: Database Development from Zero to Sixty Gert Drapers Principal Group Program Manager.
Implementing Scrum Using Team Foundation Server Richard Hundhausen President, Accentient DEV212.
Implementing Scrum Using Team Foundation Server 2012 David Starr Chief Software Craftsman Scrum.org.
All Aboard the Team Foundation Server Express Martin Woodward Senior Program Manager Microsoft Corporation.
Join the MVA Community! ▪ Microsoft Virtual Academy—Free online training! ‒ Tailored for IT Pros and Developers ‒ Over 1M registered users ▪ Earn while.
Software Testing with Microsoft Test Manager 2012 and Lab Management Brian Keller Sr. Technical Evangelist Microsoft Corporation DEV337.
Dev-Ops Best Practices on the Microsoft Stack Victor Mushkatin Group Program Manager Microsoft Corporation DEV363.
Building Metro style UIs Paul Gusmorino Lead Program Manager Microsoft Corporation DEV354.
Building Metro style apps with HTML and JavaScript Paul Gusmorino Lead Program Manager Microsoft Corporation.
tinyurl.com/ProTFS2012.
tinyurl.com/ProTFS2012.
Testing Tools using Visual Studio Randy Pagels Sr. Developer Technology Specialist Microsoft Corporation.
Application Lifecycle Management: It’s a Team Sport Cameron Skinner General Manager Microsoft Corporation Brian Keller Sr. Technical Evangelist Microsoft.
Continuous Feedback in Agile Teams Justin Marks Senior Program Manager Microsoft Corporation Sebastian Holst Chief Marketing Officer PreEmptive Solutions.
Building Windows 8 Apps for the Enterprise Robert Green Technical Evangelist Microsoft Corporation DEV358.
Advanced Microsoft SharePoint 2010 Upgrade Troubleshooting Todd Klindt SharePoint Nerd Rackspace OSP339.
The Accidental Team Foundation Server Admin Anthony Borton ALM Trainer and Mentor QuickLearn Inc. DEV345.
DEV411 Testing Un-Testable Code with Visual Studio 2012 Fakes Peter Provost Sr. Program Manager Lead Microsoft Corporation DEV411.
App Controller Richard Rundle Ketan Ghelani Program Managers Microsoft Corporation MGT303.
4/24/ :58 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Ram Cherala Principal Program Manager Microsoft Corporation DTL320.
Continuous Delivery of Windows Azure Cloud Services (DEV310) Paul Yuknewicz Principal Program Manager Lead, Visual Studio Microsoft.
Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.
Team Foundation Server 2012 Maximiliano Déboli Director de Desarrollo Microsoft Azure MVP
Real World Developer Testing with Visual Studio 2012 David Starr Chief Software Craftsman Scrum.org Peter Provost Program Manager Lead Microsoft AAP401.
Large code bases are common We still find ourselves working in unfamiliar code There is too much to know, too much to remember, and nobody can keep.
Taking Control of Visual Studio through Extensions and Extensibility Anthony Cangialosi Senior Program Manager Lead Microsoft Corporation DEV311.
OSP201: Creating Self- Service BI Solutions with SharePoint Server 2010 Peter Myers.
Application Lifecycle Management Tools for C++ in Visual Studio 2012 Rong Lu Program Manager Visual C++ Microsoft Corporation DEV316.
Microsoft SQL Server Data Tools: Database Development from Zero to Sixty Gert Drapers Principal Group Program Manager Microsoft Corporation.
What’s New in.NET 4.5 Layla Driscoll Senior Program Manager Microsoft Corporation.
Building Robust, Maintainable Coded UI Tests with Visual Studio 2010 Brian Keller Sr. Technical Evangelist – Visual Studio ALM
Brian A. Randell Senior Consultant MCW Technologies SESSION CODE: DEV311.
TEST AUTOMATION WITH VISUAL STUDIO 2010: CODED UI TESTS AND LAB MANAGEMENT Brian Keller Microsoft.
Making Agile Estimation Work Joel Semeniuk and Stephen Forte Microsoft Corporation AAP309.
Going Beyond F11: Debug Better and Faster with Visual Studio 2012 Brian A. Randell Senior Consultant MCW Technologies DEV317.
Going Beyond F11: Debug Better and Faster with Visual Studio 2012 Brian A. Randell Senior Consultant MCW Technologies DEV317.
Building Metro style apps with XAML with.NET Tim Heuer Program Manager Microsoft Corporation DEV353.
Martin Woodward Senior Program Manager Microsoft Corporation
What's new in Visual Studio 11 for Application Lifecycle Management
Modern Application Lifecycle Management
6/5/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
6/13/2018 1:23 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Manual testing of Windows Metro style apps built using HTML
What's new in Visual Studio 11 for Application Lifecycle Management
11/29/2018 2:52 AM MDC317A Continuous Delivery - The Agile End to End Story for Developers & IT Pros! Morgan Webb Technical © 2013.
Using Windows Runtime and SDK to build Metro style apps
Deep Dive into the Team Foundation Server 2012 Agile Planning Tools
All Aboard the Team Foundation Server Express
2/17/2019 7:32 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
From Development to Production: Optimizing for Continuous Delivery
Developing and Managing SharePoint Solutions with Visual Studio 2012
Developing and Managing SharePoint Solutions with Visual Studio 2012
What’s new in Visual Studio 2012
Developer Collaboration with Team Foundation Server 2012
Martin Woodward Senior Program Manager Microsoft Corporation
Office 365 Development July 2014.
Architectural discovery with Visual Studio 11
Tech·Ed North America /17/2019 4:14 PM
Presentation transcript:

Creating Robust, Maintainable Coded UI Tests with Visual Studio 2012 Brian Keller Sr. Technical Evangelist Microsoft Corporation DEV312

tinyurl.com/ProTFS2012

What You’ll Need Visual Studio 2012 Premium or Ultimate C# or VB skills Microsoft Test Manager (optionally) Team Foundation Server (optionally) Testable application

demo Coded UI Tests

using (ApplicationUnderTest.Launch(this.UIMap.LaunchApp Params.UIMyWindowsFormsAppWindowExePath, this.UIMap.LaunchAppParams.UIMyWindowsFormsAppWin dowAlternateExePath)) { this.UIMap.SimpleTest(); … } Note: This is required in 2010 only. In 2012, app closes when test run finishes. Use ApplicationUnderTest.CloseOnPlaybackCleanup & BrowserWindow.CloseOnPlaybackCleanup to preserve between test methods.

Note: This dialog is currently not available in Visual Studio Need to hand-edit data connection attributes.

Image pic = this..CaptureImage(); //Or for entire desktop: Image pic = UITestControl.Desktop.CaptureImage();

Input Injection APIs Command-Line Parsing APIs Visual Verification APIs Combinatorial Variation Generation APIs Managed Code Fault Injection APIs Text String Generation APIs Memory Leak Detection APIs Object Comparison APIs More…

SCVMM EnvironmentStandard Environment Build-Deploy-Test Snapshot / Restore Share Bug Snapshots Network Fencing 3 rd Party Virtualization Physical Machines

demo Using Lab Management with Coded UI Tests

tfspreview.com

Breakout Sessions DEV214Introducing the New Visual Studio 2012 Unit Testing Experience DEV344Developer Collaboration with Team Foundation Server 2012 AAP309Making Agile Estimation Work DEV337Software testing with Microsoft Test Manager 2012 and Lab Management DEV317Going Beyond F11: Debug Better and Faster with Visual Studio 2012 DEV340Taking ALM to the Cloud with the Team Foundation Service AAP313Scrum Under a Waterfall DEV362From Development to Production: Optimizing for Continuous Delivery DEV363Dev-Ops Best Practices on the Microsoft Stack DEV212Implementing Scrum Using Team Foundation Server 2012

Breakout Sessions DEV346All Aboard the Team Foundation Server Express DEV217Deep Dive into the Team Foundation Server 2012 Agile Planning Tools DEV365Advanced IntelliTrace in Production with Visual Studio 2012 DEV316Application Lifecycle Management Tools for C++ in Visual Studio 2012 DEV343Implementing Team Foundation Server in the Enterprise DEV321Continuous Feedback in Agile Teams DEV243Demystifying Team Foundation Server Builds DEV411Testing Un-testable Code with Fakes in Visual Studio 2012 DEV410Deep Dive into Team Foundation Server 2012 Reporting DEV412Identify and Fix Performance Problems with Visual Studio 2012 Ultimate DEV345The Accidental Team Foundation Server Admin

Breakout Sessions DEV318Working on an Agile team with Visual Studio 2012 and Team Foundation Server 2012 DEV339Metrics That Matter: Improving Lean and Agile, Kanban and Scrum AAP204Introduction to Kanban Hands-on Labs (session codes and titles) DEV11-HOLAgile Project Management in Team Foundation Server 2012 DEV12-HOLBuild the Right Software and Collaborate Effectively Using Storyboarding and Feedback Tools in Visual Studio 2012 DEV13-HOLUsing IntelliTrace with Production Systems to Quickly Diagnose and Fix Issues DEV16-HOLLearn How Microsoft Test Manager 2012 Will Embrace an Exploratory Testing Approach DEV17-HOLExplore the New Unit Testing and Code Clone Capabilities of Visual Studio 2012 DEV19-HOLDiscover How the New Features of Team Foundation Server 2012 Can Improve Collaboration in Your Development Team

Connect. Share. Discuss. Learning Microsoft Certification & Training Resources TechNet Resources for IT Professionals Resources for Developers

Evaluations Submit your evals online