Root element is missing in .vsmdi file while creating and executing test using mstest

2 posts, 1 answers
  1. Raghu
    Raghu avatar
    1 posts
    Member since:
    May 2014

    Posted 15 May 2015 Link to this post

    Hi Team,

    We are exploring telerik test studio which our client is planning to purchase.

    While exploring, we have finding a lot of issues with integration with cruise control.

    we are using following tools.

    1. Using Visual Studio 2013 pro edition

    2. Telerik Test Studio trial edition

    3. MsTest

     

    We have created the single test and ran it successfully in mstest.exe and cruisecontrol.

    We have following issues when executing the multiple tests in mstest.exe and cruisecontrol.

    We want to execute multiple tests using the mstest and cruisecontrol, hence we created the multiple tests and created and added to .vsmdi file.

    As soon as we create the .vsmdi file in VS2013, in the output it shows the message "Error loading d:\...\..\test.vsmdi: Root Element is missing.",

    Also, we have used the following commands

    1. mstest.exe /testmetadata:D:\TestProjects\VSProjects\TestAttempt2\Attempt.vsmdi /testlist:AttemptList  

    2. mstest.exe /testlist:AttemptList /testmetadata:D:\TestProjects\VSProjects\TestAttempt2\Attempt.vsmdi

    in visual studio command prompt we get the error "Root Element is missing"

     

    please provide the solution to this as our client is expecting the demo of this automation using Telerik with cruise control. Hoping for the fast response.

  2. Answer
    Cody
    Admin
    Cody avatar
    3360 posts

    Posted 15 May 2015 Link to this post

    Hello Raghu,

    Microsoft has fully deprecated Visual Studio test lists in VS 2013. They simply can not be used. VS 2010 fully supports Visual Studio test list and VS 2012 is backwards compatible with old test lists, but you cannot create new test lists in VS 2012.


    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top