Troubleshooting tips for cross browser testing in Coded UI Test
Dec 11, 2012Saima_MSFT

Summary
This post provides troubleshooting tips for cross-browser testing with Coded UI Test, focusing on common failure scenarios and their workarounds. It details how to diagnose and fix search failures by using browser developer tools to inspect control properties and comparing them with test code. It also addresses issues with dynamic IDs, the need to move filter properties to search properties, and the 'Element does not exist in cache' error, suggesting `WaitForControlExist`. For blocked control exceptions, it recommends relative coordinate clicks or hand-coding workarounds. Known limitations regarding new tab behavior in Chrome and handling of OS dialogs are also outlined.
More from the Coded UI Test Deprecation and Alternatives trail
- Changes to Coded UI Test in Visual Studio 2019
- Troubleshooting launch issues with xaml based apps using Coded UI Test
- Coded UI Test Extensibility V2
- Coded UI testing support for Silverlight using Visual Studio 2013
- Test controllers are not visible or marked offline in MTM when multiple versions of MTM are installed