Rusty Wizard
Rusty Wizard

Reputation: 541

Why is MTM attempting to load the wrong version of CodedUITestFramework DLL when I run a test case via Microsoft Test Manager?

The Set Up

I have TFS 2012, VS 2013 and Test Controller 2013 on my machine which runs Windows 8.1 x64

I have installed a Windows 7 x86 VM and on it I've installed VS 2012, VS 2013 and Test Controller 2013 (in that order). The VM is my test controller.

The Issue

When I run the test case on MTM I get the following message:

Error adding test case [14] to test run: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Why is it trying to load version 11?

Upvotes: 0

Views: 740

Answers (1)

jessehouwing
jessehouwing

Reputation: 114761

Though the documentation mentions that the 2013 Test Agent should work with your TFS 2012 server, I've usually not mixed and matched agent versions and relied on the agent matching the TFS server version. It reduces these type of issues. I'm glad this was an option for you and that it also fixes your issue, though technically your original approach should also have worked according to the docs.

Upvotes: 0

Related Questions