automated ui testing
DESCRIPTION
TRANSCRIPT
Automated UI Testing
Robert MacLean25 April 2012
Using Microsoft Technologies
AgendaIntroduction
LandscapeArchitectureSupported OS & Platforms
Coded UIAdvanced FeaturesHoops to hop through
MTMDiscussion
INTRODUCTION
Review of the landscapeVisual Studio 2010 brought
Coded UIMTM
I’ll be showing you VS “11”Pretty much the same
Stack Architecture
Unit Testing Framework
Coded UI
Microsoft Test Manager
TFS
Supported Operating SystemsWindows XP SP3+
Windows 8 with VS “11”
Architecture Support32bit Win + 32bit MTM = 32bit apps64bit Win + 32bit MTM = 32bit WOW
With UI Synchronisation64bit Win + 32bit MTM = 64bit WinForm & WPF applicationsARM with VS “11”
.NET 2.0+.NET 4.5 with VS “11”
Supported PlatformsWindows Internet Explorer 7,8 & 9 Fully Supported w/ Visual Studio 2010
Windows Internet Explorer 8,9 & 10 Fully Supported w/ Visual Studio 2011
Firefox 3.5 & 3.6 Playback supported w/ Visual Studio 2010
Silverlight 4 Fully supported w/ Visual Studio FP 2
Windows 8 Metro Apps Fully Supported w/ Visual Studio 2011
WinForms 2.0+ & WPF 3.5+ Fully Supported*
Win32 May work, not supported
MFC Partially supported
SharePoint Partially supported
Dynamics CRM Web Fully supported
Dynamics AX Partially supported
Citrix & Terminal Services Partially supported
PowerBuilder Partially support w/ Visual Studio 11
ActiveX Supported provided accessibility is implemented
Not Supported PlatformsVisual Studio 2010
IE 6ChromeOperaSafariSilverlight 3Flash/JavaOffice Client AppsSAP
Visual Studio “11”IE 7Silverlight (all versions)
CODED UI
Coded UI advanced featuresData source input and validationsAutomatic screen captureContinue on ErrorVariable Playback Speed
Hoops to hop throughNeeds to run the applicationNeeds keyboard & mouse control
Load testing only possible with Lab Management
Brittle with UI changesVariable (often not very brittle)Depends how you change the UI
MTM
DISCUSSION?