Visual Studio Coded UI Training Foundations

Course Description

Why choose ALPI for Coded UI training?
  • We use certified live instructors in both our in-person and virtual classes so you can ask questions and get answers right away.
  • We focus on real-world examples.
  • We teach using interactive, hands-on exercises.
  • This ALPI course is eligible for a free refresher guarantee so you can re-take the course within 4 months at no additional charge. Contact us for information about this unique benefit that gives you peace of mind.

This course provides a deep dive into functional test automation using Coded UI, the new Microsoft test type that allows testers to automate GUI testing. Students will create Coded UI tests by converting manual tests, recording with the Coded UI builder and enhance these automated scripts with parameters and checkpoints. The Coded UI tests will be examined and code added in the Visual Studio IDE. The UI Map is used and customized and tests are executed from Visual Studio and Microsoft Test Manager.


2 day(s)


9 - 5 pm




Approximately 50% of this course is devoted to labs.

Intended Audience

The target audience for this course includes:
  • Test Analysts who want to learn Automation using the Microsoft 201X Test Tools
  • Automation Engineers
  • Software Developers


  • Knowledge of Software Testing Concepts
  • Familiarity with Web Applications
  • Experience Coding in C#, or other Microsoft Languages is helpful


Course Outline:
  • Introduction – Coded UI Testing and Test Automation
  • How Coded UI Automation is Implemented
  • Introduction to the Coded UI Structure
    • Test Context
    • UI Map
    • Test Methods
    • Comparators
    • Data Sources
  • Converting Manual Tests to Automated Tests
    • Creating Manual Tests
    • Parameterizing Manual Tests
    • Creating Action Recordings during Replay
    • Action Recording Options
    • Converting Manual Tests to Coded UI Automation
  • Using the Coded UI Builder
    • Recording Actions
    • Adding Verification Points
    • Viewing Object Properties
  • The UI Map
    • UI Map Overview
    • Object Types and Properties
    • Modifying the UI Map
  • Checkpoints
    • Overview of Verification
    • Adding Checkpoints While Recording
    • Adding Checkpoints to an Existing Test
  • Enhancing Coded UI using C#
    • Adding Methods
    • Starting your application
    • Custom Functions
  • Executing Coded UI
    • Test Controllers and Test Agents
    • Execution using Visual Studio
    • Execution using Microsoft Test Manager
  • Analyzing Test Results
    • Viewing Test Results
    • Drilling Down into Test Result History
    • Analyzing Test Runs
    • Test Attachments and Related Entities
    • Test Result Reporting
  • Conclusions and Best Practice Recommendations