Creating Robust, Maintainable Coded UI Tests with Visual Studio 2012 Eric Maino Senior Developer Microsoft Corporation DEV312.

Slides:



Advertisements
Similar presentations
Microsoft Exchange Server 2010 SP2 Tips & Tricks Scott Schnoll Principal Technical Writer Microsoft Corporation EXL305_R.
Advertisements

What’s New in Windows Communication Foundation in Microsoft.NET 4.5 Daniel Roth Senior Program Manager Microsoft Corporation DEV326.
Identify & Fix Performance Problems with Visual Studio 2012 Ultimate Benjamin Day Benjamin Day Consulting, Inc. benday.com/blog
Upgrading SSIS Packages to SQL Server 2012 Sven Aelterman Lecturer in Information Systems & Web/Technology Specialist Troy University, Sorrell College.
WSV304 Manual Deployment High cost Fully Automated Low cost.
What's New in Microsoft Deployment Toolkit 2012 Michael Niehaus Senior Program Manager Microsoft Corporation.
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.
Deploying Windows 8 with MDT: A Preview Michael Niehaus Senior Program Manager Microsoft Corporation.
Introducing the New Visual Studio 2012 Unit Testing Experience Peter Provost Sr. Program Manager Lead Microsoft Corporation DEV214.
Building HTML and JavaScript Apps with KnockoutJS and MVVM DEV361.
Troubleshooting Windows 7 Deployments Michael Niehaus Senior Program Manager Microsoft Corporation.
Five Infrastructure Changes That Will Boost Performance for the Windows Client Andreas Stenhall Senior Executive Consultant Knowledge Factory.
Sysinternals Primer: Gems Aaron Margosis Principal Consultant Microsoft Corporation SIA311.
Customizing the User State Migration Tool Michael Niehaus Senior Program Manager Microsoft Corporation WCL322.
Dev-Ops Best Practices on the Microsoft Stack Victor Mushkatin Group Program Manager Microsoft Corporation DEV363.
Deep Dive into the Team Foundation Server 2012 Agile Planning Tools Gregg Boer Principal Program Manager Microsoft Corporation.
The Busy Developer’s Guide to Virtualization Brian A. Randell Senior Consultant MCW Technologies AAP301.
Visual Studio Tips & Tricks Dustin Campbell Microsoft Corporation Scott Cate EventDay.com DEV319.
Identify & Fix Performance Problems with Visual Studio 2012 Ultimate Benjamin Day Benjamin Day Consulting, Inc. benday.com/blog
Making the most of Search in Microsoft SharePoint Online Corey Roth Applications Architect Infusion OSP338.
Implementing Scrum Using Team Foundation Server Richard Hundhausen President, Accentient DEV212.
Implementing Team Foundation Server in the Enterprise: Guide to a Successful Implementation Jeff Levinson Solutions Architect The Boeing Company DEV343.
Building Windows 8 Apps for the Enterprise Robert Green Technical Evangelist Microsoft Corporation.
App Compat for Nerds: Understanding, Troubleshooting, and Fixing Busted Apps chris jackson principal consultant microsoft corporation WCL402.
Optimizing Microsoft SQL Server Analysis Services for Big Data Adam Jorgensen Microsoft Corporation.
All Aboard the Team Foundation Server Express Martin Woodward Senior Program Manager Microsoft Corporation.
Dev-Ops Best Practices on the Microsoft Stack Victor Mushkatin Group Program Manager Microsoft Corporation DEV363.
Exploring SQL Server Data Tier Applications Bob Beauchemin Developer Skills Partner SQLskills DBI309.
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.
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 Metro style apps with HTML and JavaScript Paul Gusmorino Lead Program Manager Microsoft Corporation.
Visual Studio Tips & Tricks Dustin Campbell Microsoft Corporation Scott Cate EventDay.com DEV319.
Real World High Availability and Site Resilience Design Robert Gillies Solution Architect Microsoft Corporation EXL308.
The Accidental Team Foundation Server Admin Anthony Borton ALM Trainer and Mentor QuickLearn Inc. DEV345.
ASP.NET for Mobile and Tablet Development Damian Edwards Senior Program Manager Microsoft Corporation.
Visual C#/Visual Basic: Becoming a Guru with Existing Features Peter Ritchie Principle Peter Ritchie Inc. Software Consulting DEV325.
Creating LOB Metro style Apps in XAML Using Blend and Visual Studio Jeffrey Ferman Program Manager Microsoft Corporation DEV369.
Paul D. Sheriff DEV216 MVVM Made Easy Paul D. Sheriff
Continuous Delivery of Windows Azure Cloud Services (DEV310) Paul Yuknewicz Principal Program Manager Lead, Visual Studio Microsoft.
Identify & Fix Performance Problems with Visual Studio 2012 Ultimate Benjamin Day Benjamin Day Consulting, Inc. benday.com/blog
Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.
Real World Developer Testing with Visual Studio 2012 David Starr Chief Software Craftsman Scrum.org Peter Provost Program Manager Lead Microsoft AAP401.
Taking Control of Visual Studio through Extensions and Extensibility Anthony Cangialosi Senior Program Manager Lead Microsoft Corporation DEV311.
DEV351.
WCL328 - Windows Intune for the Enterprise David Nudelman Senior Consultant – Microsoft MVP OCSL - UK.
App Controller Tabrez Mohammed Yuan Zheng Program Managers Microsoft Corporation MGT303.
A Lap Around Windows Presentation Foundation (WPF) 4.5 Pete Brown | XAML and Gadget Guy Microsoft Corporation DEV335.
Cloud-Ready Data Services. cloud data services.
Advanced Microsoft SharePoint 2010 Upgrade Troubleshooting Shane Young – Todd Klindt SharePoint Nerds Rackspace OSP339.
Application Lifecycle Management - automated builds and testing for SharePoint projects Chris O’Brien SharePoint MVP OSP432.
ADO.NET Entity Framework 4.3 for Real Web Applications Adam Tuliper Software Architect Cegedim DEV215.
ASP.NET Loves HTML5 Damian Edwards Senior Program Manager Microsoft Corporation DEV303.
Introduction to Kanban Steven Borg, Northwest Cadence Co-founder and Strategist AAP204.
Async Made Simple in Windows 8, with C# and Visual Basic Alex Turner Program Manager VB/C# Compilers Microsoft Corporation DEV332.
Going Beyond F11: Debug Better and Faster with Visual Studio 2012 Brian A. Randell Senior Consultant MCW Technologies DEV317.
Using Windows Runtime and SDK to build Metro style apps
Advanced IntelliTrace in Production
DEV410: Deep Dive into Team Foundation Server 2012 Reporting
Building Awesome Metro style HTML apps in Blend
Integrating with Windows 8 Experiences
Building Business Applications in LightSwitch
Developing and Managing SharePoint Solutions with Visual Studio 2012
Using Windows Runtime and SDK to build Metro style apps
Sayed Ibrahim Hashimi Program Manager Microsoft Corporation
Brandon Bray Principal Group Program Manager Microsoft Corporation
What’s New in Visual Studio LightSwitch
Building RESTful services using OData
Presentation transcript:

Creating Robust, Maintainable Coded UI Tests with Visual Studio 2012 Eric Maino Senior Developer Microsoft Corporation DEV312

DEV214 Testing Un-testable Code with Fakes in Visual Studio 11DEV412 Identify and Fix Performance Problems with Visual Studio 11 Ultimate DEV16-HOL Learn How Microsoft Test Manager 11 Will Embrace and Exploratory Testing Approach DEV17-HOL Explore the New Unit Testing and Code Clone Capabilities of Visual Studio 11

Photo Credit: Terry Adams, C# Team

Photo Credit:

Playback Settings

Search Settings // Default search is breadth first, unlimited depth with smart match // Value is in milliseconds. Default search timeout is 2 minutes. // The search engine will continue making passes until the timeout has expired // or the window has been found. settings.SearchTimeout = 10000; // Default search will make 3 attempts. // If true the default 3 attempts is applied. If false then only one attempt should take place. settings.ShouldSearchFailFast = true; // Default wait for ready timeout is 60 seconds. Level is UIThreadOnly // Suggested setting when building tests is 1 second to help uncover performance issues settings.WaitForReadyTimeout = 1000; settings.WaitForReadyLevel = WaitForReadyLevel.UIThreadOnly;

Match Settings // Default both Top Level & Control // Ensures target class name matches if set as part of search // Assumes window format is A - B // Splits on the first '-' delimiter // Assuming target window is in the format of C - D // Attempts to match A&C, B&C, A&D, B&D // Scores each matching window and returns the one with the settings.SmartMatchOptions = SmartMatchOptions.TopLevelWindow; // Ensures control hierarchy is corectly defined // Given the query ;TopLevel;A;B;C, if false A;B may be ignored settings.MatchExactHierarchy = false;

Remote Debugging

Smart Waiters

Visual Studio Home Page :: Jason Zander’s Blog :: Facebook :: Twitter :: Somasegar’s Blog ::

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

Required Slide Complete an evaluation on CommNet and enter to win!

Scan the Tag to evaluate this session now on myTechEd Mobile