Course Overview
About Course
While Microsoft deprecated Coded UI in Visual Studio 2019 , it remains relevant for maintaining legacy UI automation workflows. This 40-hour training equips QA professionals and developers with deep expertise in Coded UI, alongside clear migration strategies to modern tools like Selenium, Appium, and WinAppDriver.
The journey begins by installing the Visual Studio Coded UI components and understanding its UI automation framework. Learners record user actions, dissect the generated UIMap, and explore best practices for script maintenance. Transitioning to code-driven tests, they manipulate UI objects via C# APIs and create robust assertion points to verify functionality across Web, WPF, and WinForms applications.
A focus on data-driven testing empowers testers to parameterize and manage workflows using external data, significantly increasing coverage. Playback customizations, exception handling, and debugger-based troubleshooting refine resilience. Advanced modules tackle real-world complexities: cross-browser, pop-ups, nested frames, and dynamic UI elements—ensuring scripts remain stable across varying environments.
Framework development rounds out the training: participants build reusable libraries, synchronize tests for continuous delivery, and integrate their suites into CI pipelines, preparing them for modern team workflows. A dedicated session addresses deprecation—signaling when and how to transition to open-source alternatives—complemented by hands-on migration planning.
The capstone project challenges teams to build a comprehensive automation solution: recording, scripting, verifying, debugging, data-driving, and CI-enabling a UI test suite. Peer code reviews and instructor feedback emulate professional environments.
By bridging legacy automation with future-readiness, this Coded UI Training ensures proficiency in maintaining existing test assets, while laying the groundwork for seamless migration. Graduates emerge ready to manage, optimize, and transition UI automation workflows in enterprise setups—armed with best-in-class practices and legacy tool mastery.
-
Course Syllabus
Module 1: Coded UI Overview & Setup (4 h)
- Topics: What is Coded UI, test automation principles, supported application types (Web, WPF, Windows Forms, UWP)
- Description: Learn visual UI-driven automation fundamentals, how Coded UI fits in Visual Studio, and its lifecycle in the SDLC.
- Features: Tool installation, environment configuration, and interface walkthrough.
Module 2: Recording, Playback & UIMap (6 h)
- Topics: Record and playback, managing the UIMap, modifying generated code
- Description: Capture user scenarios, understand UI Map structure and how to tailor recorded actions.
- Features: Real-time labs on recording, refining mappings, structured playback.
Module 3: Code-Based Tests & Object Model (5 h)
- Topics: Coded UI Test API in C#, Test Context, accessing controls, synchronizations
- Description: Transition from recording to pure code‑based test scripts using C# and Test APIs.
- Features: Hands-on exercises capturing dynamic elements and clean scripting.
Module 4: Verification Points & Assertions (4 h)
- Topics: Verification Points, comparators, image-based checks, property verification
- Description: Ensure test accuracy using visual and property assertions in UI controls.
- Features: Labs creating custom checkpoints, error simulation handling.
Module 5: Data-Driven Testing (5 h)
- Topics: Data sources (CSV/XML/DB), parameterized tests, iteration controls
- Description: Use external data to drive test variations and increase coverage.
- Features: Building loops across datasets, dynamic UI validation.
Module 6: Test Execution, Results & Debugging (5 h)
- Topics: Playback settings, exception handling, reviewing UI test results, debugging
- Description: Configure test runs, manage failures, and perform detailed debugging.
- Features: Labs on playback options, log inspection, flow control.
Module 7: Advanced Test Scenarios & Synchronization (4 h)
- Topics: Complex UI flows, cross-browser, cross-platform, custom search configs
- Description: Tackle real‑world scenarios with dynamic content and varying environments.
- Features: Exercises handling frames, pop-ups, cross-browser playback.
Module 8: Framework & Best Practices (4 h)
- Topics: Structured frameworks, reusable methods, exception recovery, CI integration
- Description: Build modular, maintainable Coded UI frameworks and hook into CI pipelines.
- Features: Labs on recovery scenarios, team-ready framework templates.
Module 9: Deprecation Strategy & Tool Migration (3 h)
- Topics: Coded UI deprecation (last supported in VS 2019), migration to Selenium/Appium/WinAppDriver
- Description: Understand Microsoft’s deprecation roadmap and alternatives.
- Features: Planning sessions for migration strategy.
Module 10: Capstone Project & Assessment (5 h)
- Description: Develop and deliver a full Coded UI test suite covering a real app scenario—data‑driven, verified, exception-handled, CI-enabled.
- Features: Peer review, mentor feedback, and certification-style evaluation.
-
Key Features
- Live instructor-led sessions, virtual or on-premise
- >60% practical labs across recording, scripting, integration, and debugging
- Instructor guidance on migration to modern tools
- CI pipeline integration labs (Azure DevOps, test agent)
- Capstone end-to-end project, showcasing full automation flow
- Self-study materials: code samples, UIMap templates, best-practice guides
- Certification readiness for legacy Coded UI roles



