Simple play icon Course
Skills Expanded

Test Automation with CodedUI

by Marcel de Vries

This course will teach you how you can build UI test automation with the Visual Studio CodedUI for Web, WPF, XAML based store apps and Windows Forms based applications

What you'll learn

With Microsoft Visual Studio CodedUI you can build UI tests for the most common UI technologies including HTML and JavaScript based web applications, Windows Forms, WPF and XAML Based Store apps.

In this course you will learn how you can use Microsoft CodedUI test technology to build UI test automation projects that will help you run tests via the user interface of your application. This enables you to speed up the validation of fully functional scenarios on your application which is an important step to enable continuous delivery.

CodedUI integrates with the Microsoft ALM tool suite, and can help you build insights in your application quality on a daily basis.

In this course we look in detail how CodedUI works.

  • We will start with Record and Playback.
  • Then we look at how to build your CodedUI tests by hand coding against the CodedUI object model.
  • Then we spend a good deal of time looking at how you can build a very good maintainable CodedUI test automation project.
  • Since a good UI test will live as long as the application it is therefore crucial to learn how to build a Test automation framework for your application that is maintainable, and that will keep up with changes in the application throughout its lifecycle.
  • We will also look at analyzing playback failures and cross browser playback.
This course concludes by looking at how to build key word driven UI tests by using data driven excel sheets to manage and drive your test scenarios.

Table of contents

Course FAQ

What is coded UI testing?

Coded UI tests are automated tests that drive your application through its user interface. Tests revolve around functional testing of the UI controls. It allows developers to effectively work together to ensure the entire app is functioning properly.

What will I learn in this course?

You will learn:

  • How to build UI test automation projects 
  • How to use Microsoft CodedUI 
  • How to improve Continuous Delivery 
  • Record and Playback in CodedUI 
  • CodedUI object model 
  • How to build a Test automation framework 
  • How to analyze playback failures 
  • Much more
What UI technologies can be tested?

Some common technologies you can build UI tests for include HTML and JavaScript web apps, Windows Forms, WPF and XAML based store apps.

What is automation testing?

It means using an automation tool to conduct specific tests instead of conducting them manually. Test automation also tracks and manages the different tests for you.

Are there prerequisites to this course?

This is an intermediate level course, so it assumes at least a basic understanding of UI Testing. If you need a more beginner-level course, check out this Getting Started with UI Testing course.

Who is this course for?

This course is for anyone who wants to learn how to automate UI tests so you can be more efficient and enable more continuous delivery.

About the author

Marcel is the co-founder and CTO of Xpirit, a high-end consulting firm based in Hilversum, Netherlands. Marcel co-founded Xpirit in 2014 as a spin off from Xebia Netherlands. Together with Xebia they help customers with Digital Transformation, Agile Consulting, and Full Stack development with both Microsoft and open source products. Marcel spends most of his time looking at how new emerging technologies, a shift in mindset, and a new way of work, can help organizations get software in production... more

Ready to upskill? Get started