Coded UI Test not able to interact with the desktop

If you are running into the following error, Please read the options to enable Coded UI Tests on a remote machine. Error calling Initialization method for test class NewTitlesPush.NewTitlesPush: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException: Automation engine is unable to playback the test because it is not able to interact with the desktop.  This could happen if the computer running…


Running VS 2010 SP1 Coded UI Tests on VS 2012 Test Agents

To run VS 2010 SP1 Coded UI Tests using VS 2012 Test Agents, these are the requirements 1. Coded UI test projects should be opened in VS 2012. This auto-upgrades the test project to VS 2012. The upgrade test project is compatible with VS 2010 SP1 as well. If the test project is not upgraded,…


Silverlight 5.0 Support

Few months back, We had added support for Silverlight 5.0 applications. Please check out the plugin at


How to access Test Case Manager Test Case ID

In Visual Studio 2010, we can create test cases using Microsoft Test Manager and can associate automation to these test cases. During the test method execution, we might need the test case Id of the test case for various reasons. Unfortunately, the TESTCONTEXT doesn’t expose the Test Case Management context that you could use from…


Assigning Unique AutomationId for Silverlight XAML Controls

If you want to run coded UI tests or create action recordings for your Silverlight 4 application, you must have a unique automation property that identifies each control. For more information about how to set up your Silverlight application so that the controls are recognized, see How to: Set Up Your Silverlight Application for Testing….