ISharedStepResult Interface

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)

public interface ISharedStepResult : ITestActionResult, 
	ITestResult, IAttachmentOwner, INotifyPropertyChanged

The ISharedStepResult type exposes the following members.

Public propertyActionIdGets or set an identifier for this action result. (Inherited from ITestActionResult.)
Public propertyActionsGets a collection of action results for each step or component in the associated shared step.
Public propertyAttachmentsGets the collection of attachments. (Inherited from IAttachmentOwner.)
Public propertyCollectorsEnabledGets a list of the data collectors that are enabled for this result. (Inherited from ITestResult.)
Public propertyCommentGets or sets the accumulated comments that were entered by those who analyzed this result. (Inherited from ITestResult.)
Public propertyDateCompletedGets or sets the date that the test was completed. (Inherited from ITestResult.)
Public propertyDateCreatedGets or sets the date that the test was created. (Inherited from ITestResult.)
Public propertyDateStartedGets or sets the date that the test was started. (Inherited from ITestResult.)
Public propertyDurationGets 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.)
Public propertyErrorMessageGets or sets a description of the failure, if the test failed. (Inherited from ITestResult.)
Public propertyOutcomeGets or sets an indication of the outcome of the test. (Inherited from ITestResult.)
Public propertySharedStepIdGets the work item ID of the associated shared step.

Public methodCreateAttachment(String)Creates an attachment from a file. (Inherited from IAttachmentOwner.)
Public methodCreateAttachment(String, SourceFileAction)Creates an attachment from a file, optionally deleting the source file after uploading. (Inherited from IAttachmentOwner.)
Public methodGetSharedStepReturns the associated shared step definition from the server.

Public eventAttachmentUploadCompletedThis event is raised when the attachment upload is completed. (Inherited from IAttachmentOwner.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)

The ITestActionResult.ActionId value corresponds to that of the ISharedStepReference that called the shared step.

Community Additions