ISharedStepReference 接口

 

此接口用于从测试用例中调用共享步骤集。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

public interface ISharedStepReference : ITestAction, INotifyPropertyChanged
public interface class ISharedStepReference : ITestAction, INotifyPropertyChanged
type ISharedStepReference = 
    interface
        interface ITestAction
        interface INotifyPropertyChanged
    end
Public Interface ISharedStepReference
    Inherits ITestAction, INotifyPropertyChanged

属性

名称 说明
System_CAPS_pubproperty Id

获取此测试操作的唯一标识符。(从 ITestAction 继承。)

System_CAPS_pubproperty Owner

获取表示此测试操作所有者的测试基。(从 ITestAction 继承。)

System_CAPS_pubproperty Parent

获取此测试操作的父测试操作组。(从 ITestAction 继承。)

System_CAPS_pubproperty SharedStepId

获取或设置关联共享步骤的工作项 ID。

方法

名称 说明
System_CAPS_pubmethod CopyToNewOwner(ITestBase)

执行深层复制,将此操作复制到新的所有者。(从 ITestAction 继承。)

System_CAPS_pubmethod FindSharedStep()

从服务器中返回共享步骤定义。

System_CAPS_pubmethod MoveToNewOwner(ITestBase)

将此测试操作添加到新所有者,并将当前所有者设置为 null。(从 ITestAction 继承。)

事件

名称 说明
System_CAPS_pubevent PropertyChanged

(从 INotifyPropertyChanged 继承。)

请参阅

ISharedStep
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首