Skip to main content

TestResults class

Encapsulates the results of a visual test, including summary information and checkpoint-specific details. An object of this class is returned by the close method upon test completion.

Import statement

from from applitools.selenium import Eyes, Target,from applitools.selenium.visual_grid import VisualGridRunner import TestResults

is_new property

Syntax

value = result.is_new

Type: bool

Use this property to retrieve true if this is a new test, false otherwise.

matches property

Syntax

value = result.matches

Type: int

matches property

Syntax

value = result.mismatches

Type: int

missing property

Syntax

value = result.missing

Type: int

status property

Syntax

value = result.status

Type: Text

Use this property to retrieve one of the following enumerated values:

  • TestResultsStatus.Passed
  • TestResultsStatus.Unresolved
  • TestResultsStatus.Failed

See TestResultsStatus for details.

steps property

Syntax

value = result.steps

Type: int

url property

Syntax

value = result.url

Type: Text