Microsoft

Guidelines on improving performance of Coded UI Test playback

Jan 31, 2012Tapas Sahoo [MSFT]
Guidelines on improving performance of Coded UI Test playback
SummaryAI, from the source post

This post provides guidelines on improving the performance of Coded UI Test playback. It details techniques such as extending auto-generated search hierarchies, making use of PlaybackSettings, using MaxDepth to restrict search sub-trees, giving precedence to window search properties over accessibility properties, utilizing NextSibling for faster searches, and employing the AlwaysSearch configuration option. It also offers scenario-specific guidelines for form filling using the CopyPastedText property, preferring SelectedItems over SelectedIndices for large lists, expanding all nodes in a TreeView control, being cautious about Items property usage, comparing WinList, WinTable, and WinTree, and using the Exists property. Additionally, it provides debugging tips for performance issues by analyzing warning and error messages in logs.

More from the Coded UI Test Deprecation and Alternatives trail