Udostępnij za pośrednictwem


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
'Usage
Dim instance As PostPageEventArgs 
Dim value As Outcome 

value = instance.PageOutcome
public Outcome PageOutcome { get; }
public:
property Outcome PageOutcome {
    Outcome get ();
}
public 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

PostPageEventArgs Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace