21
Automated Solution Testing with Visual Studio 2010 With Visual Studio 2010

Automated testing with visual studio 2010

Embed Size (px)

DESCRIPTION

Automated UI testing of SharePoint with Visual Studio 2010 presented at Best Practices Conference in Washington DC in August 2010.

Citation preview

Page 1: Automated testing with visual studio 2010

Automated Solution Testing with Visual Studio 2010

With Visual Studio 2010

Page 2: Automated testing with visual studio 2010

8pm tonight at Jacksons

Page 3: Automated testing with visual studio 2010

About me

Andrew Woodward

[email protected]

@AndrewWoody

www.21apps.com/blog

Page 4: Automated testing with visual studio 2010
Page 5: Automated testing with visual studio 2010
Page 6: Automated testing with visual studio 2010

Software Phase

Page 7: Automated testing with visual studio 2010

Development

Test

Release

Software Phase

Cost of Bugs

Page 8: Automated testing with visual studio 2010

Tests

Page 9: Automated testing with visual studio 2010

TestsGeneralist Specialist

Manual Testing

Some Scripting

Strong Scripting Skills

Strong Coding

Expert coding

User Acceptance

Functional Tests

Functional Tests

Integration Build Verification

Unit Tests

Page 10: Automated testing with visual studio 2010

TestersGeneralist Specialist

Manual Testing

Some Scripting

Strong Scripting Skills

Strong Coding

Expert coding

- Create Data

- Lab Setup

Some Coding skills

Creates fully automated testing

Page 11: Automated testing with visual studio 2010

Demo

Page 12: Automated testing with visual studio 2010

Visual Studio 2010

Coded UI Tests Recording Assertions Microsoft Test framework

Ordered Tests Build Verification

Page 13: Automated testing with visual studio 2010

Best Practices

Start from know location Close any browsers Avoid GUIDs in search criteria Use URLs to navigate Drag & Drop use position

style changes can break

Page 14: Automated testing with visual studio 2010

Playback SupportPlatform RTM RTM+ Notes

IE 7/8

Firefox 3.5 Currently in beta

SharePoint 2007/2010

The most important thing

Silverlight On the road map

Chrome, Opera, Safari

Partner Opportunity

IE 6 SharePoint doesn’t anyway

*Recording only available in IE 7/8

Page 15: Automated testing with visual studio 2010
Page 16: Automated testing with visual studio 2010

VS2010 Editions

Page 17: Automated testing with visual studio 2010

VS2010 Editions

Page 18: Automated testing with visual studio 2010

Microsoft Peeps

Brian Keller http://blogs.msdn.com/briankel/

Martin Woodward http://www.woodwardweb.com/

Page 19: Automated testing with visual studio 2010

Best Practices

Make testing a core activity Use automation Start today

Page 20: Automated testing with visual studio 2010

Contact Info

Andrew Woodward

[email protected]

@AndrewWoody

www.21apps.com/blog

Page 21: Automated testing with visual studio 2010

Closing Slide

Please be sure to fill out your session evaluation!