Skip to main content

TestResultContainer class

An object of this type represents the result of running a test. It bundles together the test results and an exception status.

Using statement

using Applitools;

BrowserInfo property

Syntax

RenderBrowserInfo value = obj.BrowserInfo;

Type: RenderBrowserInfo

If this test was run using the Ultrafast Grid, then an object is returned which has the browser configuration information. If the test was not run on the Ultrafast Grid, then a value of null is returned.

Exception property

Syntax

Exception value = obj.Exception;

Type: Exception

A value that is not null indicates that an exception occurred when running the test.

TestResults property

Syntax

TestResults value = obj.TestResults;

Type: TestResults