Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestCaseResult Interface

 

Represents the status of a test case executed against a test run.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

public interface ITestCaseResult : ITestResult, IAttachmentOwner, 
	INotifyPropertyChanged, IIdentifiable<TestCaseResultIdentifier>

NameDescription
System_CAPS_pubpropertyActionRecording

Gets the action recording of the test case.

System_CAPS_pubpropertyArtifactUri

The uniform resource identifier (URI) that is used internally by Visual Studio Application Lifecycle Management (ALM) to link this result with other objects in Visual Studio ALM.

System_CAPS_pubpropertyAttachments

Gets the collection of attachments.(Inherited from IAttachmentOwner.)

System_CAPS_pubpropertyBuildNumber

Name of the build.

System_CAPS_pubpropertyCollectorsEnabled

Gets a list of the data collectors that are enabled for this result.(Inherited from ITestResult.)

System_CAPS_pubpropertyComment

Gets or sets the accumulated comments that were entered by those who analyzed this result.(Inherited from ITestResult.)

System_CAPS_pubpropertyComputerName

Gets or sets the name of the computer where the test was executed.

System_CAPS_pubpropertyDateCompleted

Gets or sets the date that the test was completed.(Inherited from ITestResult.)

System_CAPS_pubpropertyDateCreated

Gets or sets the date that the test was created.(Inherited from ITestResult.)

System_CAPS_pubpropertyDateStarted

Gets or sets the date that the test was started.(Inherited from ITestResult.)

System_CAPS_pubpropertyDuration

Gets or sets the time that was spent to execute the test. This does not include the time during which the execution was paused.(Inherited from ITestResult.)

System_CAPS_pubpropertyErrorMessage

Gets or sets a description of the failure, if the test failed.(Inherited from ITestResult.)

System_CAPS_pubpropertyFailureType

Obsolete.If the test failed, gets the type of failure.

System_CAPS_pubpropertyFailureTypeId

System_CAPS_pubpropertyId

Gets the identifier.(Inherited from IIdentifiable<TKey>.)

System_CAPS_pubpropertyImplementation

Gets the automated test for this result.

System_CAPS_pubpropertyIsFinished

Gets a value that indicates whether the test has been run.

System_CAPS_pubpropertyIterations

Gets a collection of detailed results for each iteration of the test.

System_CAPS_pubpropertyLastUpdated

Gets the date and time that this result was last updated.

System_CAPS_pubpropertyLastUpdatedBy

Gets the identity of the person who last updated this result.

System_CAPS_pubpropertyLastUpdatedByName

Last person to update result

System_CAPS_pubpropertyOutcome

Gets or sets an indication of the outcome of the test.(Inherited from ITestResult.)

System_CAPS_pubpropertyOwner

Gets the identity of the person who is responsible for running or investigating the test.

System_CAPS_pubpropertyOwnerName

User responsible for running or investigating the test.

For runs created from points, this is initialized to the test point owner.

Otherwise, this is initialized to the test case owner.

May be changed during the run and will not be kept up to date if the test case or point owners change afterward.

System_CAPS_pubpropertyOwnerTeamFoundationId

User responsible for running or investigating the test.

For runs created from points, this is initialized to the test point owner.

Otherwise, this is initialized to the test case owner.

May be changed during the run and will not be kept up to date if the test case or point owners change afterward.

System_CAPS_pubpropertyPriority

Gets or sets the priority to execute or analyze the test.

System_CAPS_pubpropertyResetCount

Gets the number of times that this result has been reset.

System_CAPS_pubpropertyResolutionStateId

Gets a numeric identifier for tracking the investigation of finished tests.

System_CAPS_pubpropertyRevision

Gets the revision number of this result for concurrency control.

System_CAPS_pubpropertyRunBy

Gets the identity of the person who executed the test.

System_CAPS_pubpropertyRunByName

User who executed the test.

System_CAPS_pubpropertyRunByTeamFoundationId

User who executed the test.

System_CAPS_pubpropertyState

Gets the status of the test.

System_CAPS_pubpropertyTestCaseArea

Gets the area path of the test case.

System_CAPS_pubpropertyTestCaseId

Gets the ID of the test case that is being executed.

System_CAPS_pubpropertyTestCaseRevision

Gets the revision of the test case that should be used.

System_CAPS_pubpropertyTestCaseTitle

Gets the title of the test case.

System_CAPS_pubpropertyTestConfigurationId

Gets the ID of the configuration against which this test was executed.

System_CAPS_pubpropertyTestConfigurationName

Gets the name of the configuration of the test that is currently being executed.

System_CAPS_pubpropertyTestPointId

Gets the ID of the test point against which this test was executed.

System_CAPS_pubpropertyTestResultId

Gets the ID of this test result, which is unique in the test run.

System_CAPS_pubpropertyTestRunId

Gets the ID of the test run that contains this result.

NameDescription
System_CAPS_pubmethodAssociateWorkItem(WorkItem)

Links the given work item to this test result.

System_CAPS_pubmethodCreateAttachment(Byte[], Int32, Int32)

Creates an attachment to this test result by using the given byte array, location, and length.

System_CAPS_pubmethodCreateAttachment(String)

Creates an attachment from a file. (Inherited from IAttachmentOwner.)

System_CAPS_pubmethodCreateAttachment(String, SourceFileAction)

Creates an attachment from a file, optionally deleting the source file after uploading.(Inherited from IAttachmentOwner.)

System_CAPS_pubmethodCreateIteration(Int32)

Creates a new iteration result.

System_CAPS_pubmethodDisassociateWorkItem(WorkItem)

Removes the link between the given work item and this test result.

System_CAPS_pubmethodGetTestCase()

Retrieves the test case data from the server as of the time that the test case result was created.

System_CAPS_pubmethodGetTestRun()

Retrieves the test-run information from the server.

System_CAPS_pubmethodQueryAssociatedWorkItemArtifacts()

Retrieves an array of work item artifacts that is linked to this test case result.

System_CAPS_pubmethodQueryAssociatedWorkItems()

Retrieves an array of IDs from the server for work items that are linked to this test case result.

System_CAPS_pubmethodRefresh()

Retrieves updated test result information from the server. Any local changes are discarded.

System_CAPS_pubmethodReset()

Clears any test result information and causes the test to be run again.

System_CAPS_pubmethodSave()

Uploads updated test result information to the server.

System_CAPS_pubmethodSave(Boolean)

Uploads updated test result information to the server, optionally uploading the attachments in the background.

NameDescription
System_CAPS_pubeventAttachmentUploadCompleted

This event is raised when the attachment upload is completed.(Inherited from IAttachmentOwner.)

System_CAPS_pubeventPropertyChanged

(Inherited from INotifyPropertyChanged.)

No content here will be updated; please do not add material here.

Return to top
Show: