TestResults class

Platform: EspressoLanguage: Java SDK:
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

import com.applitools.eyes.android.common.TestResults;
	

Methods

getAccessibilityStatus()
Returns the overall result of the accessibility test
getAppName()
Use this method to retrieve the application name.
getMatches()
Use this method to retrieve the number of test steps where the checkpoint image matched the baseline image.
getMismatches()
Use this method to retrieve the number of test steps where the checkpoint image did not match the baseline image. This includes new steps (i.e. steps where a baseline corresponding to the checkpoint was not found). It does not include missing steps. You can obtain this value using the getMissing method.
getMissing()
Use this method to retrieve the number of test steps where an image corresponding to the checkpoint image was not found in the baseline.
getName()
Use this method to retrieve the name of the test.
getStatus()
Use this method to retrieve a status that represents the results of the test.
getSteps()
Use this method to retrieve the total number of steps in the result.
getUrl()
Use this method to retrieve a URL which, if opened in a browser, displays the results of this test in the Test Manager.
isAborted()
Use this method to retrieve whether the test was aborted or not
isDifferent()
Indicates that at least one step was new, missing, or a mismatch.
isNew()
Use this method to retrieve whether this is a new test or not (i.e. no existing baseline was found for this test).