Finding all test cases from TFS 2010 for a MTM test plan using C# RRS feed

  • Question

  • Hi,

    I have are requirement That i need to show all the test case for a plan with their test results. 

    I used 

     string consult = "select * from TestResult where TestPlanId = " + testPlanID;
                   // ITestCaseCollection tcc = tmtp.TestCases.Query();
                    ITestCaseResultCollection tcrcol = tmtp.TestResults.Query(consult);

    this gave me all the test cases details for the test cases which were run atleast once.

    but I also need the list of test cases for the same plan which were not run even once. can some one help me with the same

    Wednesday, December 19, 2012 12:04 PM