TestResults class

Platform: XCUILanguage: Objective-C 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 EyesXCUI
	

Properties

accessibilityStatusType:SessionAccessibilityStatus*
Returns the overall result of the accessibility test
appNameType:NSString*
Returns the application name.
appUrlsType:SessionUrls*
Returns an object with a set of URLs that you can use to access the Test manager in a browser, preloaded with the results of this test.
batchIdType:NSString*
Returns the unique batch id of the test batch.
batchNameType:NSString*
Returns the batch name.
branchNameType:NSString*
Returns the branch name of the test.
durationType:NSInteger
Returns the amount of time the test ran.
hostAppType:NSString*
Returns the host application (browser) property of the test.
hostDisplaySizeType:CGSize
Returns the viewport size used to identify the baseline.
hostOSType:NSString*
Returns the host OS property of the test.
isAbortedType:BOOL
Returns whether the test was aborted or not (i.e. if abortIfNotClosed was called and close was not called previously).
isDifferentType:BOOL
Indicates that at least one step was new, missing, or a mismatch.
isNewType:BOOL
Returns whether this is a new test or not (i.e. no existing baseline was found for this test).
matchesType:NSInteger
Returns the number of test steps where the checkpoint image matched the baseline image.
mismatchesType:NSInteger
Returns 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 missing property.
missingType:NSInteger
Returns the number of test steps where an image corresponding to the checkpoint image was not found in the baseline.
nameType:NSString*
Returns the name of the test.
startedAtType:NSString*
Returns the date and time the test started.
statusType:TestResultStatus
Returns a status that represents the results of the test.
stepsType:NSInteger
Returns the total number of steps in the result.
stepsInfoType:NSArray<StepInfo *>*
Returns an array of objects with information on all steps in the test.
urlType:NSString*
Returns a URL which, if opened in a browser, displays the results of this test in the test manager.