Completed
Last Updated: 08 Oct 2014 10:33 by N1t1nA
ADMIN
Cody
Created on: 06 Oct 2014 16:50
Type: Bug Report
1
VS 2012/2013 cannot run VS test lists created in VS 2010
If you try to use MSTest in VS 2012 or 2013 to run a VS test list created in VS 2010 all you get is this:
Microsoft (R) Test Execution Command Line Tool Version 11.0.50727.1
Copyright (c) Microsoft Corporation. All rights reserved.

Loading TestSettings1.testsettings...
Loading TestStudioProjectToUpgrade.vsmdi...
TestStudioProjectToUpgrade.vsmdi
Value cannot be null.
Parameter name: type

Attached is sample project to reproduce the problem. To reproduce try running the command line:
mstest /testmetadata:TestStudioProjectToUpgrade.vsmdi /testlist:list1 /testsettings:TestSettings1.testsettings

The same command line works perfectly using VS 2010.
3 comments
N1t1nA
Posted on: 08 Oct 2014 10:33
No problem is not solved after Re-creating testlist along with new vsmdi I tried the same, but I am getting error

root element is missing

Also I observed that new vsmdi file is blank if I tried to edit with Notepad++ and size is 0kb
However our Old vsmdi contains some data with 
type="ArtOfTest.WebAiiVSIP.WebAiiTest, ArtOfTest.WebAiiVSIP,   PublicKeyToken=14176981d1873d86" />

If If I tried to find the type="ArtOfTest.WebAiiVSIP.WebAiiTest, ArtOfTest.WebAiiVSIP, Under C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies, 
I am getting this ArtOfTest.WebAiiVSIP-VS2013.dll not ArtOfTest.WebAiiVSIP.WebAiiTest
Attached Files:
ADMIN
Iliyan Panchev
Posted on: 08 Oct 2014 10:08
It seems that the test list in question was faulty - the Visual Studio was not recognizing it. Re-creating the fixed the problem.
Cody
Posted on: 06 Oct 2014 16:50
The work around is to create an ordered test and run the ordered test using the TestContainer command line switch instead.