locked
Unable to use Ordered Tests in VSTS 2008 - DEvelopers Edition RRS feed

  • Question

  •  

    I have an existing set of Unit Tests and now I would like to create a Ordered
    Test to run these test in the correct order.
    I right click on the test project and select Add-->Ordered Test.
    The file "OrderedTest1.orderedtest is added to my test project.
    When I try to open this new file I get the error:
         "Value does not fall within the expected range"

    The new file contains the follwing XML test;

    <?xml version="1.0" encoding="UTF-8"?>
    <OrderedTest xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2006"
    id="7750b3a2-1f46-4d14-ae2e-5455ce89e422" name="OrderedTest1">

    </OrderedTest>

    Can anyone please help.

    Thanks,

    Rob McAllister

    Agilent Technologies, Inc.

    Wednesday, August 13, 2008 9:14 PM

Answers

  • Rob, sorry about you experience with Ordered Test. We haven't seen this issue before. Please enable tracing (e.g. take a look at this post) in devenv.exe.config and email me the trace log. If this does not help, next step would be to run devenv under debugger with symbols loaded (take a look here how to get symbols for Microsoft assemblies), and get stack trace when the exception is thrown.

     

    Thanks,

    Michael Koltachev, Visual Studio Team Test

    Thursday, August 14, 2008 5:28 PM

All replies

  • Rob, sorry about you experience with Ordered Test. We haven't seen this issue before. Please enable tracing (e.g. take a look at this post) in devenv.exe.config and email me the trace log. If this does not help, next step would be to run devenv under debugger with symbols loaded (take a look here how to get symbols for Microsoft assemblies), and get stack trace when the exception is thrown.

     

    Thanks,

    Michael Koltachev, Visual Studio Team Test

    Thursday, August 14, 2008 5:28 PM
  • Hi,

    I am getting the same error while I am trying to add an ordered test to my test project.

    Did you manage to resolve this issue?

    Many thanks.

    Hakan.
    Wednesday, October 15, 2008 9:52 AM
  • Hi HakanHastekin,

    Sorry for the delay, I was not watching this thread.
    The solution for me was to completely reinstall Visual Studio.
    Follow the instuctions on http://msdn.microsoft.com/en-us/bb968856.aspx to ensure everything is uninstalled first.

    Hope this helps.


    Mac
    Wednesday, November 19, 2008 10:00 PM