Response VerifyResult Method (HttpStatus)C# API
Verify that the response code of this Response matches the specifed expectedResult

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

public bool VerifyResult(
	HttpStatus expectedResult


Type: Facilita.Web HttpStatus
The HTTP status code that this response is expected to have.

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