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.

getException method

Syntax

let value = obj.getException();
value = obj.exception;

Note that this feature is available as both a method and a property.

Parameters

This method does not take any parameters.

Return value

Type: EyesError

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

getTestResults method

Syntax

let value = obj.getTestResults();
value = obj.testResults;

Note that this feature is available as both a method and a property.

Parameters

This method does not take any parameters.

Return value

Type: TestResults