表示单个测试操作和期望的测试结果。
命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Public Interface ITestStep _
    Inherits ITestAction, INotifyPropertyChanged
public interface ITestStep : ITestAction, 
    INotifyPropertyChanged
public interface class ITestStep : ITestAction, 
    INotifyPropertyChanged
type ITestStep =  
    interface
        interface ITestAction
        interface INotifyPropertyChanged
    end
public interface ITestStep extends ITestAction, INotifyPropertyChanged
ITestStep 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Attachments | 获取此测试步骤的附件的集合。 | 
| .gif) | Description | 获取此测试步骤的说明。 | 
| .gif) | ExpectedResult | 获取此测试步骤的期望测试结果。 | 
| .gif) | Id | 获取此测试操作的唯一标识符。 (继承自 ITestAction。) | 
| .gif) | Owner | 获取表示此测试操作所有者的测试基。 (继承自 ITestAction。) | 
| .gif) | Parent | 获取此测试操作的父测试操作组。 (继承自 ITestAction。) | 
| .gif) | TestStepType | 获取此测试步骤的类型。 | 
| .gif) | Title | 获取此测试步骤的标题。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | CopyToNewOwner | 执行深层复制,将此操作复制到新的所有者。 (继承自 ITestAction。) | 
| .gif) | CreateAttachment | 从本地文件中创建一个新的附件。 | 
| .gif) | MoveToNewOwner | 将此测试操作添加到新所有者,并将当前所有者设置为 null。 (继承自 ITestAction。) | 
页首
事件
| 名称 | 说明 | |
|---|---|---|
| .gif) | PropertyChanged | 在更改属性值时发生。 (继承自 INotifyPropertyChanged。) | 
页首