Condividi tramite


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, then you might hit the below error

Unit Test Adapter threw exception: Could not load file or
assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestFramework,
Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of
its dependencies. The system cannot find the file specified..

2. Build Agent should be of version TFS 2012 with VS 2012 installed

3. VS 2012 Test Controller and VS 2012 Test Agents should be registered with TFS 2012.