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)

Syntax

public interface ITestCaseResult : ITestResult, IAttachmentOwner, 
    INotifyPropertyChanged, IIdentifiable<TestCaseResultIdentifier>
public interface class ITestCaseResult : ITestResult, IAttachmentOwner, 
    INotifyPropertyChanged, IIdentifiable<TestCaseResultIdentifier^>
type ITestCaseResult = 
    interface
        interface ITestResult
        interface IAttachmentOwner
        interface INotifyPropertyChanged
        interface IIdentifiable<TestCaseResultIdentifier>
    end
Public Interface ITestCaseResult
    Inherits ITestResult, IAttachmentOwner, INotifyPropertyChanged,
    IIdentifiable(Of TestCaseResultIdentifier)

Properties

Name Description
System_CAPS_pubproperty ActionRecording

Gets the action recording of the test case.

System_CAPS_pubproperty ArtifactUri

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_pubproperty Attachments

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

System_CAPS_pubproperty BuildNumber

Name of the build.

System_CAPS_pubproperty CollectorsEnabled

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

System_CAPS_pubproperty Comment

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

System_CAPS_pubproperty ComputerName

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

System_CAPS_pubproperty DateCompleted

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

System_CAPS_pubproperty DateCreated

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

System_CAPS_pubproperty DateStarted

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

System_CAPS_pubproperty Duration

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_pubproperty ErrorMessage

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

System_CAPS_pubproperty FailureType

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

System_CAPS_pubproperty FailureTypeId

System_CAPS_pubproperty Id

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

System_CAPS_pubproperty Implementation

Gets the automated test for this result.

System_CAPS_pubproperty IsFinished

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

System_CAPS_pubproperty Iterations

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

System_CAPS_pubproperty LastUpdated

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

System_CAPS_pubproperty LastUpdatedBy

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

System_CAPS_pubproperty LastUpdatedByName

Last person to update result

System_CAPS_pubproperty Outcome

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

System_CAPS_pubproperty Owner

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

System_CAPS_pubproperty OwnerName

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_pubproperty OwnerTeamFoundationId

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_pubproperty Priority

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

System_CAPS_pubproperty ResetCount

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

System_CAPS_pubproperty ResolutionStateId

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

System_CAPS_pubproperty Revision

Gets the revision number of this result for concurrency control.

System_CAPS_pubproperty RunBy

Gets the identity of the person who executed the test.

System_CAPS_pubproperty RunByName

User who executed the test.

System_CAPS_pubproperty RunByTeamFoundationId

User who executed the test.

System_CAPS_pubproperty State

Gets the status of the test.

System_CAPS_pubproperty TestCaseArea

Gets the area path of the test case.

System_CAPS_pubproperty TestCaseId

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

System_CAPS_pubproperty TestCaseRevision

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

System_CAPS_pubproperty TestCaseTitle

Gets the title of the test case.

System_CAPS_pubproperty TestConfigurationId

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

System_CAPS_pubproperty TestConfigurationName

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

System_CAPS_pubproperty TestPointId

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

System_CAPS_pubproperty TestResultId

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

System_CAPS_pubproperty TestRunId

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

Methods

Name Description
System_CAPS_pubmethod AssociateWorkItem(WorkItem)

Links the given work item to this test result.

System_CAPS_pubmethod CreateAttachment(Byte[], Int32, Int32)

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

System_CAPS_pubmethod CreateAttachment(String)

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

System_CAPS_pubmethod CreateAttachment(String, SourceFileAction)

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

System_CAPS_pubmethod CreateIteration(Int32)

Creates a new iteration result.

System_CAPS_pubmethod DisassociateWorkItem(WorkItem)

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

System_CAPS_pubmethod GetTestCase()

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

System_CAPS_pubmethod GetTestRun()

Retrieves the test-run information from the server.

System_CAPS_pubmethod QueryAssociatedWorkItemArtifacts()

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

System_CAPS_pubmethod QueryAssociatedWorkItems()

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

System_CAPS_pubmethod Refresh()

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

System_CAPS_pubmethod Reset()

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

System_CAPS_pubmethod Save()

Uploads updated test result information to the server.

System_CAPS_pubmethod Save(Boolean)

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

Events

Name Description
System_CAPS_pubevent AttachmentUploadCompleted

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

System_CAPS_pubevent PropertyChanged

(Inherited from INotifyPropertyChanged.)

Remarks

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

See Also

Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top