ISharedStepResult Interface

 

Represents the result of executing a shared step. The action ID will correspond to the action ID of the SharedStepReference that called the shared ste.

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

Syntax

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
    Inherits ITestActionResult, ITestResult, IAttachmentOwner, INotifyPropertyChanged

Properties

Name Description
System_CAPS_pubproperty ActionId

Gets or set an identifier for this action result.(Inherited from ITestActionResult.)

System_CAPS_pubproperty Actions

Gets a collection of action results for each step or component in the associated shared step.

System_CAPS_pubproperty Attachments

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

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 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 Outcome

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

System_CAPS_pubproperty SharedStepId

Gets the work item ID of the associated shared step.

System_CAPS_pubproperty SharedStepRevision

Revision of the shared step used to produce these results.

Methods

Name Description
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 GetSharedStep()

Returns the associated shared step definition from the server.

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