TestStepEventArgs 类

定义

所有测试步骤事件参数的基类。

public ref class TestStepEventArgs abstract : Microsoft::VisualStudio::TestTools::Execution::TestCaseEventArgs
[System.Serializable]
public abstract class TestStepEventArgs : Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
[<System.Serializable>]
type TestStepEventArgs = class
    inherit TestCaseEventArgs
Public MustInherit Class TestStepEventArgs
Inherits TestCaseEventArgs
继承
派生
属性

构造函数

TestStepEventArgs(DataCollectionContext, Guid, TcmInformation, String, Boolean, Int32, String)
TestStepEventArgs(DataCollectionContext, ITestElement, TcmInformation, Int32, String)

属性

Context

获取或设置事件的上下文信息。

(继承自 DataCollectionEventArgs)
IsChildTestCase

获取或设置一个值,该值指示测试用例是否为另一个测试用例的子。

(继承自 TestCaseEventArgs)
TargetDataCollectorUri (继承自 DataCollectionEventArgs)
TcmInformation

获取一个对象,该对象包含的信息可用于从测试管理器服务器获取有关该测试用例的更多数据。

(继承自 TestCaseEventArgs)
TestCaseId

获取或设置测试用例标识符。

(继承自 TestCaseEventArgs)
TestCaseName

获取或设置测试用例的名称。

(继承自 TestCaseEventArgs)
TestElement

获取当前测试。

(继承自 TestCaseEventArgs)
TestStepDescription

获取或设置测试步骤的说明。

TestStepId

获取或设置测试步骤的 ID。

适用于