SlideShare une entreprise Scribd logo
1  sur  42
Testing the User Interface Coded UI Tests with Visual Studio 2010 Eric D. Boyd
Introduction Eric D. Boyd 15 years in technology
I’m From Here
I Moved Here
I Work Here www.centare.com
I Work On
I Blog Here www.ericdboyd.com
I Tweet Here www.twitter.com/EricDBoyd
Getting to Know You Photo by www.rebeccasandulak.com/
Agenda The State of Software Testing Manual Testing Coded UI Tests Coded UI Best Practices What’s New Since RTM? Q&A
Northeast Blackout of 2003 10 million people in Ontario and 45 million people in eight US states were without power Race condition in GE Energy’s Unix-based XA/21 energy management system Stalled FirstEnergy’s control room alarm system for over an hour Hid audio and visual alerts of system state changes, unprocessed events queued, and the primary server failed within 30 minutes Toronto on the evening of August 14 http://en.wikipedia.org/wiki/Northeast_Blackout_of_2003
Therac-25 Patients were given massive overdoses of radiation, 100 times the intended dose 3 patients died from radiation poisoning Race conditions occurred when the operator changed the setup quickly Arithmetic overflow caused the software to bypass safety checks http://en.wikipedia.org/wiki/Therac-25
Ariane 5, Maiden Voyage June 4, 1996, rocket explodes 39 seconds after take-off Decade of development and $7 billion dollars invested Destroyed rocket and cargo valued at $500 million 64-bit float converted to 16-bit signed integer, larger than 32,767, failed http://en.wikipedia.org/wiki/Ariane_5_Flight_501
Software Quality Troubles “my testers are spending too long testing the same thing” “tooling is expensive (time, licenses, people)” “when is my software ready to ship?” “developers and testers work in silos and don’t communicate/speak the same language” “it will take weeks for regression testing”
What the Industry Says software bugs cost the US economy an estimated $59.5 billion every year last year, canceled projects cost firms $67 billion; overruns on the other projects racked up another $21billion on average professional coders make 100 to 150 errors in every 1000 lines of code they write
What If You Could… easily manage test plans and test cases enable developers to easily automate functional UI tests Integrate functional UI testing into build automation parameterize playback of recorded tests fast forward through manual testing
Areas of the Project Lifecycle
Story Time – Testing Failures
Testing Cycle
Tester Life 70% of testing happens here Majority of test tools target here Black Box Testing White Box Testing API Testing
Visual Studio 2010 Generalist Specialist Coded UI Test Unit Testing Web Test Test Runner Load Test FF Manual Test Test Case Management Virtual Lab Management Data Collectors (Intellitrace, System Info.)  Team Foundation Server with Reporting
Challenges of UI Testing
What are Coded UI Tests?
Anatomy of Coded UI Tests
Demo – Create Coded UI Tests
Demo – Manual Testing
Demo – Automating the Manual Tests
Demo – Editing Existing Coded UI Test
Demo – Customizing Tests
Demo – Data-Driven Coded UI Tests
Coded UI Best Practices Use the Coded UI Test Builder DO NOT EVER edit the UIMap.designer.cs file Use meaningful names Use meaningful Assertions Limit the number of actions Re-record when the UI changes Create separate UIMap files for each module API Coding Use the generated classes as much as possible Create a method for each custom assertion in UIMap.cs
Feature Pack 2
Demo – Feature Pack 2
Automation Platform Support
Demo – Build Automation
UITestArchitecture Write a client that does something else! My UI Coded UI Test Test Runner Interpreter Code Generation Action Invoker Custom properties & code Customize recording Add/Modify API Playback Recorder Filter/ Aggregation Rules API Property Provider Browser Service Add another browser Technology Abstraction Layer Write technology adapters Web Plug-ins (MSHTML/DOM) Rich Client Plug-ins (UIA/MSAA) 3rd Party Plug-ins
Coded UI is Only One of the Tools Test Case Management 1000 vUsers Web Test Load Test Manual Testing Fast Fwd for Manual Testing Rich Actionable Bugs Virtual Env. Setup/Tear Down Environment from Template Checkpoint Environment Team Explorer Agents *Requires Visual Studio Test Professional 2010 for virtual lab management & configuration.
Improving Quality with VS 2010 Better Tools for Manual Testing UI Test Automation Tester-Developer Collaboration Build Integration
How to Get Started Visual Studio 2010 Premium or Ultimate Test Professional (optional) Team Foundation Server (optional) Play for FREE with VS 2010 and TFS 2010 VHD Windows Virtual PC (Windows 7) Microsoft Virtual PC 2007 SP 1 Windows Server 2008 Hyper-V
Useful Resources VS 2010 Testing http://msdn.microsoft.com/en-us/library/ms182409.aspx VS 2010 Coded UI http://msdn.microsoft.com/en-us/library/dd286726.aspx VS 2010 Main Resource Page http://msdn.microsoft.com/en-us/library/dd831853.aspx Local Technology Events http://twitter.com/MWD_DevEvents
Q&A
Thank You!

Contenu connexe

Tendances

Coded ui - lesson 1 - overview
Coded ui - lesson 1 - overviewCoded ui - lesson 1 - overview
Coded ui - lesson 1 - overviewOmer Karpas
 
Coded ui in a nutshell
Coded ui in a nutshellCoded ui in a nutshell
Coded ui in a nutshellOmer Karpas
 
Remote Test Execution using TFS 2015 (RC2 and beyond)
Remote Test Execution using TFS 2015 (RC2 and beyond)Remote Test Execution using TFS 2015 (RC2 and beyond)
Remote Test Execution using TFS 2015 (RC2 and beyond)Allen Mathias
 
Coded ui - lesson 3 - case study - calculator
Coded ui - lesson 3 - case study - calculatorCoded ui - lesson 3 - case study - calculator
Coded ui - lesson 3 - case study - calculatorOmer Karpas
 
Test Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overviewTest Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overviewClemens Reijnen
 
Coded ui - lesson 2 - coded ui test builder
Coded ui - lesson 2 - coded ui test builderCoded ui - lesson 2 - coded ui test builder
Coded ui - lesson 2 - coded ui test builderOmer Karpas
 
Unit testing with visual studio 2012
Unit testing with visual studio 2012Unit testing with visual studio 2012
Unit testing with visual studio 2012Abhimanyu Singhal
 
Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010Clemens Reijnen
 
Coded ui - lesson 9 - test windows
Coded ui - lesson 9 - test windowsCoded ui - lesson 9 - test windows
Coded ui - lesson 9 - test windowsOmer Karpas
 
Testing with test_complete
Testing with test_completeTesting with test_complete
Testing with test_completebinuiweb
 
UI Testing Automation
UI Testing AutomationUI Testing Automation
UI Testing AutomationAgileEngine
 
TestComplete – A Sophisticated Automated Testing Tool by SmartBear
TestComplete – A Sophisticated Automated Testing Tool by SmartBearTestComplete – A Sophisticated Automated Testing Tool by SmartBear
TestComplete – A Sophisticated Automated Testing Tool by SmartBearSoftware Testing Solution
 
Automating UI testing
Automating UI testingAutomating UI testing
Automating UI testingAdam Siton
 
Test automation - Building effective solutions
Test automation - Building effective solutionsTest automation - Building effective solutions
Test automation - Building effective solutionsArtem Nagornyi
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test CompleteVartika Saxena
 
Open Source Software Testing Tools
Open Source Software Testing ToolsOpen Source Software Testing Tools
Open Source Software Testing ToolsVaruna Harshana
 
Testing tools in visual studio
Testing tools in visual studioTesting tools in visual studio
Testing tools in visual studioMahdi Esmailoghli
 

Tendances (20)

Coded ui - lesson 1 - overview
Coded ui - lesson 1 - overviewCoded ui - lesson 1 - overview
Coded ui - lesson 1 - overview
 
Coded ui in a nutshell
Coded ui in a nutshellCoded ui in a nutshell
Coded ui in a nutshell
 
Remote Test Execution using TFS 2015 (RC2 and beyond)
Remote Test Execution using TFS 2015 (RC2 and beyond)Remote Test Execution using TFS 2015 (RC2 and beyond)
Remote Test Execution using TFS 2015 (RC2 and beyond)
 
Coded ui - lesson 3 - case study - calculator
Coded ui - lesson 3 - case study - calculatorCoded ui - lesson 3 - case study - calculator
Coded ui - lesson 3 - case study - calculator
 
Test Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overviewTest Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overview
 
Coded ui - lesson 2 - coded ui test builder
Coded ui - lesson 2 - coded ui test builderCoded ui - lesson 2 - coded ui test builder
Coded ui - lesson 2 - coded ui test builder
 
Unit testing with visual studio 2012
Unit testing with visual studio 2012Unit testing with visual studio 2012
Unit testing with visual studio 2012
 
Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010
 
Coded ui - lesson 9 - test windows
Coded ui - lesson 9 - test windowsCoded ui - lesson 9 - test windows
Coded ui - lesson 9 - test windows
 
Testing with test_complete
Testing with test_completeTesting with test_complete
Testing with test_complete
 
Test complete, work done so far
Test complete, work done so farTest complete, work done so far
Test complete, work done so far
 
UI Testing Automation
UI Testing AutomationUI Testing Automation
UI Testing Automation
 
TestComplete – A Sophisticated Automated Testing Tool by SmartBear
TestComplete – A Sophisticated Automated Testing Tool by SmartBearTestComplete – A Sophisticated Automated Testing Tool by SmartBear
TestComplete – A Sophisticated Automated Testing Tool by SmartBear
 
Automating UI testing
Automating UI testingAutomating UI testing
Automating UI testing
 
Testing_with_TestComplete
Testing_with_TestCompleteTesting_with_TestComplete
Testing_with_TestComplete
 
Test Complete
Test CompleteTest Complete
Test Complete
 
Test automation - Building effective solutions
Test automation - Building effective solutionsTest automation - Building effective solutions
Test automation - Building effective solutions
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Open Source Software Testing Tools
Open Source Software Testing ToolsOpen Source Software Testing Tools
Open Source Software Testing Tools
 
Testing tools in visual studio
Testing tools in visual studioTesting tools in visual studio
Testing tools in visual studio
 

En vedette

User Interface Testing | Best Practices
User Interface Testing | Best Practices User Interface Testing | Best Practices
User Interface Testing | Best Practices David Tzemach
 
UI Testing Best Practices - An Expected Journey
UI Testing Best Practices - An Expected JourneyUI Testing Best Practices - An Expected Journey
UI Testing Best Practices - An Expected JourneyOren Farhi
 
Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview Assaf Halperin
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional TestingNishant Worah
 
Non-Functional testing
Non-Functional testingNon-Functional testing
Non-Functional testingKanoah
 
Testing responsive web design pdf
Testing responsive web design pdfTesting responsive web design pdf
Testing responsive web design pdfcrilusi
 
The evolution of agile development process
The evolution of agile development processThe evolution of agile development process
The evolution of agile development processDavid Tzemach
 
Visual Regression Testing
Visual Regression TestingVisual Regression Testing
Visual Regression TestingVodqaBLR
 
All you need to know about regression testing | David Tzemach
All you need to know about regression testing | David TzemachAll you need to know about regression testing | David Tzemach
All you need to know about regression testing | David TzemachDavid Tzemach
 
Regression Testing
Regression TestingRegression Testing
Regression TestingHabibur Rony
 
Agile vs. waterfall - The fundamentals differences
Agile vs. waterfall - The fundamentals differencesAgile vs. waterfall - The fundamentals differences
Agile vs. waterfall - The fundamentals differencesDavid Tzemach
 
Non-functional testing
Non-functional testingNon-functional testing
Non-functional testingVishwanath KC
 
Installation testing
Installation testingInstallation testing
Installation testingRobin0590
 
What are the advantages of non functional testing
What are the advantages of non functional testingWhat are the advantages of non functional testing
What are the advantages of non functional testingMaveric Systems
 
Regression testing
Regression testingRegression testing
Regression testingMohua Amin
 
Non functional testing
Non functional testingNon functional testing
Non functional testingVaibhav Dash
 
Non Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanNon Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanSampath kumar Mohan
 
Android testing
Android testingAndroid testing
Android testingJinaTm
 

En vedette (20)

User Interface Testing | Best Practices
User Interface Testing | Best Practices User Interface Testing | Best Practices
User Interface Testing | Best Practices
 
UI Testing Best Practices - An Expected Journey
UI Testing Best Practices - An Expected JourneyUI Testing Best Practices - An Expected Journey
UI Testing Best Practices - An Expected Journey
 
Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional Testing
 
Non-Functional testing
Non-Functional testingNon-Functional testing
Non-Functional testing
 
Testing responsive web design pdf
Testing responsive web design pdfTesting responsive web design pdf
Testing responsive web design pdf
 
The evolution of agile development process
The evolution of agile development processThe evolution of agile development process
The evolution of agile development process
 
Visual Regression Testing
Visual Regression TestingVisual Regression Testing
Visual Regression Testing
 
All you need to know about regression testing | David Tzemach
All you need to know about regression testing | David TzemachAll you need to know about regression testing | David Tzemach
All you need to know about regression testing | David Tzemach
 
Regression Testing
Regression TestingRegression Testing
Regression Testing
 
Agile vs. waterfall - The fundamentals differences
Agile vs. waterfall - The fundamentals differencesAgile vs. waterfall - The fundamentals differences
Agile vs. waterfall - The fundamentals differences
 
Non-functional testing
Non-functional testingNon-functional testing
Non-functional testing
 
Installation testing
Installation testingInstallation testing
Installation testing
 
What are the advantages of non functional testing
What are the advantages of non functional testingWhat are the advantages of non functional testing
What are the advantages of non functional testing
 
Regression testing
Regression testingRegression testing
Regression testing
 
Non functional testing
Non functional testingNon functional testing
Non functional testing
 
Non Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanNon Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar Mohan
 
Installation testing
Installation testingInstallation testing
Installation testing
 
Introduction to android testing
Introduction to android testingIntroduction to android testing
Introduction to android testing
 
Android testing
Android testingAndroid testing
Android testing
 

Similaire à Testing the User Interface - Coded UI Tests with Visual Studio 2010

YuryMakedonov_GUI_TestAutomation_QAI_Canada_2007_14h
YuryMakedonov_GUI_TestAutomation_QAI_Canada_2007_14hYuryMakedonov_GUI_TestAutomation_QAI_Canada_2007_14h
YuryMakedonov_GUI_TestAutomation_QAI_Canada_2007_14hYury M
 
Embedded software validation best practices with NI and RQM
Embedded software validation best practices with NI and RQMEmbedded software validation best practices with NI and RQM
Embedded software validation best practices with NI and RQMPaul Urban
 
Remote (Mobile) Usability Testing Lab
Remote (Mobile) Usability Testing LabRemote (Mobile) Usability Testing Lab
Remote (Mobile) Usability Testing LabJan Moons
 
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...Riccardo Coppola
 
Improving Software quality for the Modern Web
Improving Software quality for the Modern WebImproving Software quality for the Modern Web
Improving Software quality for the Modern WebEuan Garden
 
ICSE17Tech Briefing - Automated GUI Testing of Android Apps: From Research to...
ICSE17Tech Briefing - Automated GUI Testing of Android Apps: From Research to...ICSE17Tech Briefing - Automated GUI Testing of Android Apps: From Research to...
ICSE17Tech Briefing - Automated GUI Testing of Android Apps: From Research to...Kevin Moran
 
Creating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerCreating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerQA or the Highway
 
Agile Development in Aerospace and Defense
Agile Development in Aerospace and DefenseAgile Development in Aerospace and Defense
Agile Development in Aerospace and DefenseJim Nickel
 
LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)
LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)
LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)Bitbar
 
Velocity Conference: Increasing Speed To Market In Mobile Development Through...
Velocity Conference: Increasing Speed To Market In Mobile Development Through...Velocity Conference: Increasing Speed To Market In Mobile Development Through...
Velocity Conference: Increasing Speed To Market In Mobile Development Through...Intuit Inc.
 
App Days 2016 Munich - Mobile Applications testing by Leaware
App Days 2016 Munich - Mobile Applications testing by LeawareApp Days 2016 Munich - Mobile Applications testing by Leaware
App Days 2016 Munich - Mobile Applications testing by LeawareLeaware.com
 
Android automation tools
Android automation toolsAndroid automation tools
Android automation toolsSSGMCE SHEGAON
 
Zibrasoft | Software QA Testing Company Inida
Zibrasoft | Software QA Testing Company InidaZibrasoft | Software QA Testing Company Inida
Zibrasoft | Software QA Testing Company InidaZibraSoft Technologies
 
Mdc2010 Automated Mobile Testing
Mdc2010 Automated Mobile TestingMdc2010 Automated Mobile Testing
Mdc2010 Automated Mobile Testingmomobangalore
 
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resume
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_ResumeRanjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resume
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resumeranjith nagisetty
 
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest-Infosys Co-Webinar on Mobile Continuous IntegrationExperitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest-Infosys Co-Webinar on Mobile Continuous IntegrationExperitest
 

Similaire à Testing the User Interface - Coded UI Tests with Visual Studio 2010 (20)

YuryMakedonov_GUI_TestAutomation_QAI_Canada_2007_14h
YuryMakedonov_GUI_TestAutomation_QAI_Canada_2007_14hYuryMakedonov_GUI_TestAutomation_QAI_Canada_2007_14h
YuryMakedonov_GUI_TestAutomation_QAI_Canada_2007_14h
 
Embedded software validation best practices with NI and RQM
Embedded software validation best practices with NI and RQMEmbedded software validation best practices with NI and RQM
Embedded software validation best practices with NI and RQM
 
Remote (Mobile) Usability Testing Lab
Remote (Mobile) Usability Testing LabRemote (Mobile) Usability Testing Lab
Remote (Mobile) Usability Testing Lab
 
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
 
Improving Software quality for the Modern Web
Improving Software quality for the Modern WebImproving Software quality for the Modern Web
Improving Software quality for the Modern Web
 
ICSE17Tech Briefing - Automated GUI Testing of Android Apps: From Research to...
ICSE17Tech Briefing - Automated GUI Testing of Android Apps: From Research to...ICSE17Tech Briefing - Automated GUI Testing of Android Apps: From Research to...
ICSE17Tech Briefing - Automated GUI Testing of Android Apps: From Research to...
 
Creating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerCreating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran Kinsbruner
 
Agile Development in Aerospace and Defense
Agile Development in Aerospace and DefenseAgile Development in Aerospace and Defense
Agile Development in Aerospace and Defense
 
Mobitop
MobitopMobitop
Mobitop
 
Mobitop
MobitopMobitop
Mobitop
 
Mobitop
MobitopMobitop
Mobitop
 
Mobitop
MobitopMobitop
Mobitop
 
LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)
LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)
LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)
 
Velocity Conference: Increasing Speed To Market In Mobile Development Through...
Velocity Conference: Increasing Speed To Market In Mobile Development Through...Velocity Conference: Increasing Speed To Market In Mobile Development Through...
Velocity Conference: Increasing Speed To Market In Mobile Development Through...
 
App Days 2016 Munich - Mobile Applications testing by Leaware
App Days 2016 Munich - Mobile Applications testing by LeawareApp Days 2016 Munich - Mobile Applications testing by Leaware
App Days 2016 Munich - Mobile Applications testing by Leaware
 
Android automation tools
Android automation toolsAndroid automation tools
Android automation tools
 
Zibrasoft | Software QA Testing Company Inida
Zibrasoft | Software QA Testing Company InidaZibrasoft | Software QA Testing Company Inida
Zibrasoft | Software QA Testing Company Inida
 
Mdc2010 Automated Mobile Testing
Mdc2010 Automated Mobile TestingMdc2010 Automated Mobile Testing
Mdc2010 Automated Mobile Testing
 
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resume
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_ResumeRanjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resume
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resume
 
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest-Infosys Co-Webinar on Mobile Continuous IntegrationExperitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
 

Plus de Eric D. Boyd

Rock, Paper, Scissors: Winning Big with Game Playing Cloud Bots
Rock, Paper, Scissors: Winning Big with Game Playing Cloud BotsRock, Paper, Scissors: Winning Big with Game Playing Cloud Bots
Rock, Paper, Scissors: Winning Big with Game Playing Cloud BotsEric D. Boyd
 
Windows Azure Kick Start - Common Scenarios
Windows Azure Kick Start - Common ScenariosWindows Azure Kick Start - Common Scenarios
Windows Azure Kick Start - Common ScenariosEric D. Boyd
 
Windows Azure Kick Start - Explore Storage and SQL Azure
Windows Azure Kick Start - Explore Storage and SQL AzureWindows Azure Kick Start - Explore Storage and SQL Azure
Windows Azure Kick Start - Explore Storage and SQL AzureEric D. Boyd
 
Windows Azure Kick Start - Windows Azure Compute
Windows Azure Kick Start - Windows Azure ComputeWindows Azure Kick Start - Windows Azure Compute
Windows Azure Kick Start - Windows Azure ComputeEric D. Boyd
 
Windows Azure Kick Start - Get Started in Cloud Computing
Windows Azure Kick Start - Get Started in Cloud ComputingWindows Azure Kick Start - Get Started in Cloud Computing
Windows Azure Kick Start - Get Started in Cloud ComputingEric D. Boyd
 
Windows Azure Kick Start - Welcome
Windows Azure Kick Start - WelcomeWindows Azure Kick Start - Welcome
Windows Azure Kick Start - WelcomeEric D. Boyd
 
Moving Web Apps to the Cloud - Iowa User Group Tour, Feb 2012
Moving Web Apps to the Cloud - Iowa User Group Tour, Feb 2012Moving Web Apps to the Cloud - Iowa User Group Tour, Feb 2012
Moving Web Apps to the Cloud - Iowa User Group Tour, Feb 2012Eric D. Boyd
 
HTML5 + Cloud: Reach Everyone, Everywhere
HTML5 + Cloud: Reach Everyone, EverywhereHTML5 + Cloud: Reach Everyone, Everywhere
HTML5 + Cloud: Reach Everyone, EverywhereEric D. Boyd
 
Architecting for Massive Scalability - St. Louis Day of .NET 2011 - Aug 6, 2011
Architecting for Massive Scalability - St. Louis Day of .NET 2011 - Aug 6, 2011Architecting for Massive Scalability - St. Louis Day of .NET 2011 - Aug 6, 2011
Architecting for Massive Scalability - St. Louis Day of .NET 2011 - Aug 6, 2011Eric D. Boyd
 
Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...
Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...
Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...Eric D. Boyd
 
Understanding the Value of the Cloud - Centare Lunch & Learn - June 2, 2011
Understanding the Value of the Cloud - Centare Lunch & Learn - June 2, 2011Understanding the Value of the Cloud - Centare Lunch & Learn - June 2, 2011
Understanding the Value of the Cloud - Centare Lunch & Learn - June 2, 2011Eric D. Boyd
 

Plus de Eric D. Boyd (11)

Rock, Paper, Scissors: Winning Big with Game Playing Cloud Bots
Rock, Paper, Scissors: Winning Big with Game Playing Cloud BotsRock, Paper, Scissors: Winning Big with Game Playing Cloud Bots
Rock, Paper, Scissors: Winning Big with Game Playing Cloud Bots
 
Windows Azure Kick Start - Common Scenarios
Windows Azure Kick Start - Common ScenariosWindows Azure Kick Start - Common Scenarios
Windows Azure Kick Start - Common Scenarios
 
Windows Azure Kick Start - Explore Storage and SQL Azure
Windows Azure Kick Start - Explore Storage and SQL AzureWindows Azure Kick Start - Explore Storage and SQL Azure
Windows Azure Kick Start - Explore Storage and SQL Azure
 
Windows Azure Kick Start - Windows Azure Compute
Windows Azure Kick Start - Windows Azure ComputeWindows Azure Kick Start - Windows Azure Compute
Windows Azure Kick Start - Windows Azure Compute
 
Windows Azure Kick Start - Get Started in Cloud Computing
Windows Azure Kick Start - Get Started in Cloud ComputingWindows Azure Kick Start - Get Started in Cloud Computing
Windows Azure Kick Start - Get Started in Cloud Computing
 
Windows Azure Kick Start - Welcome
Windows Azure Kick Start - WelcomeWindows Azure Kick Start - Welcome
Windows Azure Kick Start - Welcome
 
Moving Web Apps to the Cloud - Iowa User Group Tour, Feb 2012
Moving Web Apps to the Cloud - Iowa User Group Tour, Feb 2012Moving Web Apps to the Cloud - Iowa User Group Tour, Feb 2012
Moving Web Apps to the Cloud - Iowa User Group Tour, Feb 2012
 
HTML5 + Cloud: Reach Everyone, Everywhere
HTML5 + Cloud: Reach Everyone, EverywhereHTML5 + Cloud: Reach Everyone, Everywhere
HTML5 + Cloud: Reach Everyone, Everywhere
 
Architecting for Massive Scalability - St. Louis Day of .NET 2011 - Aug 6, 2011
Architecting for Massive Scalability - St. Louis Day of .NET 2011 - Aug 6, 2011Architecting for Massive Scalability - St. Louis Day of .NET 2011 - Aug 6, 2011
Architecting for Massive Scalability - St. Louis Day of .NET 2011 - Aug 6, 2011
 
Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...
Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...
Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...
 
Understanding the Value of the Cloud - Centare Lunch & Learn - June 2, 2011
Understanding the Value of the Cloud - Centare Lunch & Learn - June 2, 2011Understanding the Value of the Cloud - Centare Lunch & Learn - June 2, 2011
Understanding the Value of the Cloud - Centare Lunch & Learn - June 2, 2011
 

Dernier

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 

Dernier (20)

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 

Testing the User Interface - Coded UI Tests with Visual Studio 2010

  • 1. Testing the User Interface Coded UI Tests with Visual Studio 2010 Eric D. Boyd
  • 2. Introduction Eric D. Boyd 15 years in technology
  • 5. I Work Here www.centare.com
  • 7. I Blog Here www.ericdboyd.com
  • 8. I Tweet Here www.twitter.com/EricDBoyd
  • 9. Getting to Know You Photo by www.rebeccasandulak.com/
  • 10. Agenda The State of Software Testing Manual Testing Coded UI Tests Coded UI Best Practices What’s New Since RTM? Q&A
  • 11. Northeast Blackout of 2003 10 million people in Ontario and 45 million people in eight US states were without power Race condition in GE Energy’s Unix-based XA/21 energy management system Stalled FirstEnergy’s control room alarm system for over an hour Hid audio and visual alerts of system state changes, unprocessed events queued, and the primary server failed within 30 minutes Toronto on the evening of August 14 http://en.wikipedia.org/wiki/Northeast_Blackout_of_2003
  • 12. Therac-25 Patients were given massive overdoses of radiation, 100 times the intended dose 3 patients died from radiation poisoning Race conditions occurred when the operator changed the setup quickly Arithmetic overflow caused the software to bypass safety checks http://en.wikipedia.org/wiki/Therac-25
  • 13. Ariane 5, Maiden Voyage June 4, 1996, rocket explodes 39 seconds after take-off Decade of development and $7 billion dollars invested Destroyed rocket and cargo valued at $500 million 64-bit float converted to 16-bit signed integer, larger than 32,767, failed http://en.wikipedia.org/wiki/Ariane_5_Flight_501
  • 14. Software Quality Troubles “my testers are spending too long testing the same thing” “tooling is expensive (time, licenses, people)” “when is my software ready to ship?” “developers and testers work in silos and don’t communicate/speak the same language” “it will take weeks for regression testing”
  • 15. What the Industry Says software bugs cost the US economy an estimated $59.5 billion every year last year, canceled projects cost firms $67 billion; overruns on the other projects racked up another $21billion on average professional coders make 100 to 150 errors in every 1000 lines of code they write
  • 16. What If You Could… easily manage test plans and test cases enable developers to easily automate functional UI tests Integrate functional UI testing into build automation parameterize playback of recorded tests fast forward through manual testing
  • 17. Areas of the Project Lifecycle
  • 18. Story Time – Testing Failures
  • 20. Tester Life 70% of testing happens here Majority of test tools target here Black Box Testing White Box Testing API Testing
  • 21. Visual Studio 2010 Generalist Specialist Coded UI Test Unit Testing Web Test Test Runner Load Test FF Manual Test Test Case Management Virtual Lab Management Data Collectors (Intellitrace, System Info.) Team Foundation Server with Reporting
  • 22. Challenges of UI Testing
  • 23. What are Coded UI Tests?
  • 24. Anatomy of Coded UI Tests
  • 25. Demo – Create Coded UI Tests
  • 26. Demo – Manual Testing
  • 27. Demo – Automating the Manual Tests
  • 28. Demo – Editing Existing Coded UI Test
  • 30. Demo – Data-Driven Coded UI Tests
  • 31. Coded UI Best Practices Use the Coded UI Test Builder DO NOT EVER edit the UIMap.designer.cs file Use meaningful names Use meaningful Assertions Limit the number of actions Re-record when the UI changes Create separate UIMap files for each module API Coding Use the generated classes as much as possible Create a method for each custom assertion in UIMap.cs
  • 35. Demo – Build Automation
  • 36. UITestArchitecture Write a client that does something else! My UI Coded UI Test Test Runner Interpreter Code Generation Action Invoker Custom properties & code Customize recording Add/Modify API Playback Recorder Filter/ Aggregation Rules API Property Provider Browser Service Add another browser Technology Abstraction Layer Write technology adapters Web Plug-ins (MSHTML/DOM) Rich Client Plug-ins (UIA/MSAA) 3rd Party Plug-ins
  • 37. Coded UI is Only One of the Tools Test Case Management 1000 vUsers Web Test Load Test Manual Testing Fast Fwd for Manual Testing Rich Actionable Bugs Virtual Env. Setup/Tear Down Environment from Template Checkpoint Environment Team Explorer Agents *Requires Visual Studio Test Professional 2010 for virtual lab management & configuration.
  • 38. Improving Quality with VS 2010 Better Tools for Manual Testing UI Test Automation Tester-Developer Collaboration Build Integration
  • 39. How to Get Started Visual Studio 2010 Premium or Ultimate Test Professional (optional) Team Foundation Server (optional) Play for FREE with VS 2010 and TFS 2010 VHD Windows Virtual PC (Windows 7) Microsoft Virtual PC 2007 SP 1 Windows Server 2008 Hyper-V
  • 40. Useful Resources VS 2010 Testing http://msdn.microsoft.com/en-us/library/ms182409.aspx VS 2010 Coded UI http://msdn.microsoft.com/en-us/library/dd286726.aspx VS 2010 Main Resource Page http://msdn.microsoft.com/en-us/library/dd831853.aspx Local Technology Events http://twitter.com/MWD_DevEvents
  • 41. Q&A