Partager via


ISharedStepReference Interface

This interface is used to call a shared step set from a test case.

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

Syntax

'Declaration
Public Interface ISharedStepReference _
    Inherits ITestAction, INotifyPropertyChanged
public interface ISharedStepReference : ITestAction, 
    INotifyPropertyChanged
public interface class ISharedStepReference : ITestAction, 
    INotifyPropertyChanged
type ISharedStepReference =  
    interface 
        interface ITestAction 
        interface INotifyPropertyChanged 
    end
public interface ISharedStepReference extends ITestAction, INotifyPropertyChanged

The ISharedStepReference type exposes the following members.

Properties

  Name Description
Public property Id Gets a unique identifier for this test action. (Inherited from ITestAction.)
Public property Owner Gets a test base that represents the owner of this test action. (Inherited from ITestAction.)
Public property Parent Gets the parent test action group for this test action. (Inherited from ITestAction.)
Public property SharedStepId Gets or sets the work item ID for the associated shared step.

Top

Methods

  Name Description
Public method CopyToNewOwner Performs a deep copy of this action to a new owner. (Inherited from ITestAction.)
Public method FindSharedStep Returns the shared step definition from the server.
Public method MoveToNewOwner Adds this test action to the new owner and sets the current owner to null. (Inherited from ITestAction.)

Top

Events

  Name Description
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

ISharedStep