Images JavaScript Eyes SDK classes

Platform: ImagesLanguage: JavaScript SDK:

Enums

MatchLevel
Values that define different types of Image matching. These are used in various commands that set the match level. See How to use Eyes match levels for details.
TestResultsStatus
This enum defines literals that define the possible test results for a single test. It is returned by the getStatus method.

Classes

ApiUrls
An object of this class is contained in the StepInfo object, which is in itself an object in the TestResults object returned by the close method.The methods in this class are used to retrieve a URI that can be used with the REST API to obtain information about a particular step.
AppUrls
An object of this class is contained in the StepInfo object, which is in itself an object in the TestResults object returned by the close method.The properties in this class are used to retrieve a URI that can be used in a browser to open the Test Manager on a page that displays information about a particular step.
BatchInfo
Call Configuration.setBatch method or Eyes.setBatch method with an object of this class to configure the batch for one or more tests.
Configuration
This class is used to create a configuration object that is used to configure an Eyes object by passing it to the Eyes.setConfiguration method.
Eyes
This class provides the main methods used to execute tests and checkpoints.
ImagesCheckSettings
The methods in this class are used as part of the check Fluent API to configure and execute checkpoints.
Location
Provides an object that describes a coordinate. An object of this type is required as a parameter in some methods.
MatchResult
This value is for internal use only.
PropertyData
A property is a name/value pair that you can associate with a test. You can view these properties and filter and group by these properties in the Test Manager. Set properties using addProperty method or setProperties method
ProxySettings
An object used to set and retrieve the details of the proxy server used to interact with the Eyes server.
RectangleSize
Provides an object that describes a rectangle. An object of this type is required as a parameter in some methods.
Region
Provides an object that describes a rectangular area at a coordinate. An object of this type is required as a parameter in some methods.
SessionUrls
An object of this class is returned as part of the information in the TestResults class. This class provides URIs that can be used in a browser to display the Test manager batch and test results for this test.
StepInfo
When a test terminates, the close method returns an object with methods/properties defined by the TestResults class. Within the TestResults, there is an array of objects which have the properties defined by the class StepInfo. Each element of this array describes information for one step in the test.The properties in this class are used to retrieve information for a given step in the test results.
Target
This class provides methods that are used to define and configure the checkpoint target for the check method.
TestResults
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.