PostPageEventArgs.PageOutcome 属性

获取指示页面请求和响应结果的值。

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

语法

声明
Public ReadOnly Property PageOutcome As Outcome
    Get
public Outcome PageOutcome { get; }
public:
property Outcome PageOutcome {
    Outcome get ();
}
member PageOutcome : Outcome
function get PageOutcome () : Outcome

属性值

类型:Microsoft.VisualStudio.TestTools.WebTesting.Outcome
指示页面请求和响应结果的值,不是 Pass,就是 Fail

备注

仅当对页面的所有 WebTestRequests 的结果均为 Pass 时,该值才为 Pass

.NET Framework 安全性

请参见

参考

PostPageEventArgs 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间