WebTestResultGroup 类

从 Web 性能测试结果中提取一组结果,如循环或条件。

继承层次结构

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultUnit
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultGroup
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultCondition
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultIteration
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultLoop
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultLoopIteration
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultTransaction

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
<SerializableAttribute> _
Public MustInherit Class WebTestResultGroup _
    Inherits WebTestResultUnit
[SerializableAttribute]
public abstract class WebTestResultGroup : WebTestResultUnit
[SerializableAttribute]
public ref class WebTestResultGroup abstract : public WebTestResultUnit
[<AbstractClass>]
[<SerializableAttribute>]
type WebTestResultGroup =  
    class
        inherit WebTestResultUnit
    end
public abstract class WebTestResultGroup extends WebTestResultUnit

WebTestResultGroup 类型公开以下成员。

属性

  名称 说明
公共属性 Children 获取组的子级。这通常可以为一个页面,也可以为其他群组。Set 存取器设置为内部。
公共属性 DeclarativeWebTestItemId 获取或设置该声明性测试请求的 ID。 (继承自 WebTestResultUnit。)
公共属性 IsCompleted 获取一个布尔值,该值指示响应是否该结果状态是 Completed。 (继承自 WebTestResultUnit。)
公共属性 IsSkipped 获取一个布尔值,指示该要求是否被跳过。 (继承自 WebTestResultUnit。)
公共属性 Passed 获取一个布尔值,指示是否在组中的所有孩子都能通过测试。 (重写 WebTestResultUnit.Passed。)
公共属性 ResultStatus 获取或设置此页面或请求的 WebTestResultStatus 。 (继承自 WebTestResultUnit。)
公共属性 SourceWebTestId 获取或设置 Web 性能测试的 ID。 (继承自 WebTestResultUnit。)

页首

方法

  名称 说明
受保护的方法 AddNonExecutedChildren 在结果组中添加 Web 性能测试项,并将它们标记为模板。
公共方法 Clone 创建作为当前实例副本的新对象。 (继承自 WebTestResultUnit。)
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetItem 从集合中检索指定索引位置的 WebTestResultUnit
公共方法 GetRequestSize 返回请求的大小。 (重写 WebTestResultUnit.GetRequestSize()。)
公共方法 GetResponseSize 返回响应的大小。 (重写 WebTestResultUnit.GetResponseSize()。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.TestTools.WebTesting 命名空间