Partager via


PostPageEventArgs.PageOutcome Property

Gets a value that indicates the outcome of the page request and response.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property PageOutcome As Outcome
public Outcome PageOutcome { get; }
public:
property Outcome PageOutcome {
    Outcome get ();
}
member PageOutcome : Outcome with get
function get PageOutcome () : Outcome

Property Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.Outcome
A value of either Pass or Fail that indicates the outcome of the page request and response.

Remarks

The value is Pass only if the outcome for all WebTestRequests made for the page was Pass.

.NET Framework Security

See Also

Reference

PostPageEventArgs Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace