VST12 The Road to Continuous Delivery, Automated UI Testing for Web, WPF and Windows Forms

11/18/2014

2:00pm - 3:15pm

Marcel de Vries

CTO

Xpirit

In this session, Marcel will show you how to automate your UI testing with the Visual Studio CodedUI test framework, which is part of Visual Studio Premium and above.

Most of you have probably heard of this new industry trend, called continuous delivery. This is where teams not only create software in short sprints, they actually deliver the software into production with the click of a button.

One of the steps involved in achieving a high team velocity and delivering new features in production after each sprint is Automated UI testing. Of course you can test a large part of your application using unit tests, but there is always a small portion of tests that need to be validated in the UI.

In this session, Marcel will show you how to automate your UI testing with the Visual Studio CodedUI test framework, which is part of Visual Studio Premium and above. He will show you how you how you can build automated UI test suites on Windows Forms applications, WPF Applications, XAML based Store applications, and of course Web applications. We will go through some of the fundamentals of the Object model and the way you can build tests using record and Playback; and we will go into how to write tests that are more easily maintainable by introducing you to the Page Object patter and a way to write DRY (Don't repeat Yourself) and DAMP (Descriptive And Meaningful Phrases) tests.

You will learn:

  • CodedUI test framework that is part of Visual Studio
  • How the tools work to build record and playback tests
  • How to use the CodedUI object model and apply the Page object Pattern
  • How to build maintainable test suites that support the full application lifecycle of your application