Automated UI Testing

13
Automated UI Testing Robert MacLean 25 April 2012 Using Microsoft Technologies

description

 

Transcript of Automated UI Testing

Page 1: Automated UI Testing

Automated UI Testing

Robert MacLean25 April 2012

Using Microsoft Technologies

Page 2: Automated UI Testing

AgendaIntroduction

LandscapeArchitectureSupported OS & Platforms

Coded UIAdvanced FeaturesHoops to hop through

MTMDiscussion

Page 3: Automated UI Testing

INTRODUCTION

Page 4: Automated UI Testing

Review of the landscapeVisual Studio 2010 brought

Coded UIMTM

I’ll be showing you VS “11”Pretty much the same

Page 5: Automated UI Testing

Stack Architecture

Unit Testing Framework

Coded UI

Microsoft Test Manager

TFS

Page 6: Automated UI Testing

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”

Page 7: Automated UI Testing

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

Page 8: Automated UI Testing

Not Supported PlatformsVisual Studio 2010

IE 6ChromeOperaSafariSilverlight 3Flash/JavaOffice Client AppsSAP

Visual Studio “11”IE 7Silverlight (all versions)

Page 9: Automated UI Testing

CODED UI

Page 10: Automated UI Testing

Coded UI advanced featuresData source input and validationsAutomatic screen captureContinue on ErrorVariable Playback Speed

Page 11: Automated UI Testing

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

Page 12: Automated UI Testing

MTM

Page 13: Automated UI Testing

DISCUSSION?