Response VerifyResult Method (HttpStatus, ActionType)C# API
Verify that the response code of this Response matches the specifed expectedResult, and takes the specified action if it does not.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: (

public bool VerifyResult(
	HttpStatus expectedResult,
	ActionType action


Type: Facilita.Web HttpStatus
The HTTP status code that this response is expected to have.
Type: Facilita.Fc.Runtime ActionType
The action to take if the HTTP status does not match the expectedResult.

Return Value

true if the HTTP status of this Response object matches the expectedResult; otherwise, false.

When a script is generated from a trace, calls to VerifyResult() are inserted after every Send  method call and the result from the recorded responses are automatically inserted as parameters.
See Also