mardi 22 mars 2016

TFS Test Manager API - Getting a specific revision of a TestCase has zero Actions

When trying to get an old revision, the following code has zero actions:

These 2 Interfaces are gotten beforehand appropriately:
ITestManagementTeamProject testProject;
ITestSuiteEntry testCase;

int testCaseRevision = testProject.TestResults
.ByTestId(testCase.Id)
.FirstOrDefault(p => p.TestRunId == testRunID).TestCaseRevision;

ITestCaseHelper helper = testProject.TestCases as ITestCaseHelper;
ITestCase testCaseProperRevision = helper.Find(testCase.Id, testCaseRevision);

testCaseProperRevision.Actions has zero Actions, but there should be 38. How do I get the missing actions?

Thanks in advance for you help.

Aucun commentaire:

Enregistrer un commentaire