The information in this topic may be out of date. The current SDK reference guide has moved here.

TestResults class

Platform: ImagesLanguage: 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.

Using statement

using Applitools;
	

Properties

AccessibilityStatusType:SessionAccessibilityStatus
Returns the overall result of the accessibility test
AppNameType:string
Use this property to retrieve the application name.
AppUrlsType:SessionUrls
Use this property to retrieve 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:string
Use this property to retrieve the unique batch ID of the test batch.
BatchNameType:string
Use this property to retrieve the batch name.
BranchNameType:string
Use this property to retrieve the branch name of the test.
DurationType:long
Use this property to retrieve the amount of time the test ran.
HostAppType:string
Use this property to retrieve the host application (browser) property of the test.
HostDisplaySizeType:RectangleSize
Use this property to retrieve the viewport size used to identify the baseline.
HostOSType:string
Use this property to retrieve the host OS property of the test.
IdType:string
Use this property to retrieve the ID of the test.
IsAbortedType:bool
Use this property to retrieve whether the test was aborted or not
IsDifferentType:bool
Indicates that at least one step was missing, or a mismatch.
IsNewType:bool
Use this property to retrieve whether this is a new test or not (i.e. no existing baseline was found for this test).
MatchesType:int
Use this property to retrieve the number of test steps where the checkpoint image matched the baseline image.
MismatchesType:int
Use this property 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 Missing property.
MissingType:int
Use this property to retrieve the number of test steps where an image corresponding to the checkpoint image was not found in the baseline.
NameType:string
Use this property to retrieve the name of the test.
StartedAtType:DateTime
Use this property to retrieve the date and time the test started.
StatusType:TestResultsStatus
Use this property to retrieve a status that represents the results of the test.
StepsType:int
Use this property to retrieve the total number of steps in the result.
StepsInfoType:StepInfo[]
Use this property to retrieve an array of objects with information on all steps in the test.
UrlType:string
Use this property to retrieve a URL which, if opened in a browser, displays the results of this test in the Test Manager.

Methods

Delete()
Remove the test results from the server.