close method

Class: EyesPlatform: EspressoLanguage: Java SDK:

Call this method at the end of the test. This terminates the sequence of checkpoints, and then waits synchronously for the test results and returns them.

Syntax


TestResults result = eyes.close();

TestResults result = eyes.close(throwEx);

Parameters

throwEx
Type:boolean
If this parameter has a value of true, then if there are new, missing, or mismatched steps, an exception will be thrown. If the parameter is set to false, then an exception will not be thrown for the above cases. If the parameter is not passed, then it is as if a true value was passed.

Return value

Type: TestResults

The result of the test can be obtained from the object returned. See TestResults class for a list of what information can be obtained from this object. See TestResults class for a list of what information can be obtained from this object.