Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides a base interface for results from test cases, test actions, and test iterations.
Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Interface ITestResult _
    Inherits IAttachmentOwner, INotifyPropertyChanged
public interface ITestResult : IAttachmentOwner, 
    INotifyPropertyChanged
public interface class ITestResult : IAttachmentOwner, 
    INotifyPropertyChanged
type ITestResult =  
    interface 
        interface IAttachmentOwner 
        interface INotifyPropertyChanged 
    end
public interface ITestResult extends IAttachmentOwner, INotifyPropertyChanged
The ITestResult type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Attachments | Gets the collection of attachments. (Inherited from IAttachmentOwner.) | 
| .gif) | CollectorsEnabled | Gets a list of the data collectors that are enabled for this result. | 
| .gif) | Comment | Gets or sets the accumulated comments that were entered by those who analyzed this result. | 
| .gif) | DateCompleted | Gets or sets the date that the test was completed. | 
| .gif) | DateCreated | Gets or sets the date that the test was created. | 
| .gif) | DateStarted | Gets or sets the date that the test was started. | 
| .gif) | 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. | 
| .gif) | ErrorMessage | Gets or sets a description of the failure, if the test failed. | 
| .gif) | Outcome | Gets or sets an indication of the outcome of the test. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | CreateAttachment(String) | Creates an attachment from a file. (Inherited from IAttachmentOwner.) | 
| .gif) | CreateAttachment(String, SourceFileAction) | Creates an attachment from a file, optionally deleting the source file after uploading. (Inherited from IAttachmentOwner.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | AttachmentUploadCompleted | This event is raised when the attachment upload is completed. (Inherited from IAttachmentOwner.) | 
| .gif) | PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) | 
Top
Remarks
This interface supports the object model for Test Case management (TCM) in Visual Studio. This interface is not intended for you to implement in a custom class, but you can use this interface in a custom class if a TCM object returns an internal implementation.