Microsoft
Microsoft logoMicrosoft · Feature trail

Coded UI Test Deprecation and Alternatives

49 posts · Sep 2011 – Apr 2019

What this trail covers

This thread tracks the evolution of Coded UI Test functionality and its alternatives. Initially, Coded UI Test was the primary tool for UI automation. With its deprecation in Visual Studio 2019, the focus has shifted to migrating to open-source alternatives like Selenium for web applications and Appium with WinAppDriver for desktop and UWP apps. The goal is to provide robust and maintainable solutions for UI testing in modern development workflows. This post details improvements to Coded UI Test playback performance by optimizing search hierarchies, leveraging PlaybackSettings, restricting search depth with MaxDepth, prioritizing window search properties, utilizing NextSibling for faster searches, employing AlwaysSearch for dynamic controls, and using unique properties for items within containers. It also provides scenario-specific guidelines for form filling with CopyPastedText, selecting items in lists with SelectedItems vs. SelectedIndices, expanding TreeView nodes, cautious usage of the Items property, and comparing WinList, WinTable, and WinTree. Finally, it offers debugging tips for performance issues by analyzing warning and error messages in logs.

All Microsoft trails