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.
Represents the result when a shared step is executed.
Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Interface ISharedStepResult _
    Inherits ITestActionResult, ITestResult, IAttachmentOwner, INotifyPropertyChanged
public interface ISharedStepResult : ITestActionResult, 
    ITestResult, IAttachmentOwner, INotifyPropertyChanged
public interface class ISharedStepResult : ITestActionResult, 
    ITestResult, IAttachmentOwner, INotifyPropertyChanged
type ISharedStepResult =  
    interface 
        interface ITestActionResult 
        interface ITestResult 
        interface IAttachmentOwner 
        interface INotifyPropertyChanged 
    end
public interface ISharedStepResult extends ITestActionResult, ITestResult, IAttachmentOwner, INotifyPropertyChanged
The ISharedStepResult type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | ActionId | Gets or set an identifier for this action result. (Inherited from ITestActionResult.) | 
| .gif) | Actions | Gets a collection of action results for each step or component in the associated shared step. | 
| .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. (Inherited from ITestResult.) | 
| .gif) | Comment | Gets or sets the accumulated comments that were entered by those who analyzed this result. (Inherited from ITestResult.) | 
| .gif) | DateCompleted | Gets or sets the date that the test was completed. (Inherited from ITestResult.) | 
| .gif) | DateCreated | Gets or sets the date that the test was created. (Inherited from ITestResult.) | 
| .gif) | DateStarted | Gets or sets the date that the test was started. (Inherited from ITestResult.) | 
| .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. (Inherited from ITestResult.) | 
| .gif) | ErrorMessage | Gets or sets a description of the failure, if the test failed. (Inherited from ITestResult.) | 
| .gif) | Outcome | Gets or sets an indication of the outcome of the test. (Inherited from ITestResult.) | 
| .gif) | SharedStepId | Gets the work item ID of the associated shared step. | 
| .gif) | SharedStepRevision | 
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.) | 
| .gif) | GetSharedStep | Returns the associated shared step definition from the server. | 
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
The ITestActionResult.ActionId value corresponds to that of the ISharedStepReference that called the shared step.