UI Testing SharePoint 2010 with Visual Studio 2012
Nov 1, 2012Srishti [MSFT]

Summary
This post enumerates minor workarounds for using Coded UI Tests with SharePoint 2010 applications in Visual Studio 2012. It provides specific code examples for handling Excel web parts, including double-clicking cells and interacting with dynamically generated `<div>` controls. It also details the setup process for testing SharePoint Silverlight controls using a Visual Studio UI Test Plugin for Silverlight and Fiddler, including copying helper DLLs and generating test code that references `Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll`.
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