ITestCaseResult.GetTestCase Method ()
Retrieves the test case data from the server as of the time that the test case result was created.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
ITestCase GetTestCase()
ITestCase^ GetTestCase()
abstract GetTestCase : unit -> ITestCase
Function GetTestCase As ITestCase
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCase
The test case data. If the result is published from MSTEST/TCM.EXE, no test case exists, and this method returns null.
Remarks
If the test case at the specific version is deleted, the method will return the latest version.
If the result is published from MSTEST/TCM.EXE, it does not have a test case so the method will return null.
See Also
ITestCase
ITestCaseResult Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top