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: 9.5.8.37 (1.0.0.0)
Syntax

public bool VerifyResult(
	HttpStatus expectedResult
)

Parameters

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.
Remarks

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