TestResults class

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

Properties

AccessibilityStatusType:SessionAccessibilityStatus
Returns the overall result of the accessibility test
AppNameType:string
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:string
Returns the unique batch id of the test batch.
BatchNameType:string
Returns the batch name.
BranchNameType:string
Returns the branch name of the test.
DurationType:long
Returns the amount of time the test ran.
HostAppType:string
Returns the host application (browser) property of the test.
HostDisplaySizeType:RectangleSize
Returns the viewport size used to identify the baseline.
HostOSType:string
Returns the host OS property of the test.
IdType:string
Returns the ID 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:int
Returns the number of test steps where the checkpoint image matched the baseline image.
MismatchesType:int
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:int
Returns the number of test steps where an image corresponding to the checkpoint image was not found in the baseline.
NameType:string
Returns the name of the test.
StartedAtType:DateTime
Returns the date and time the test started.
StatusType:TestResultsStatus
Returns a status that represents the results of the test.
StepsType:int
Returns the total number of steps in the result.
StepsInfoType:StepInfo[]
Returns an array of objects with information on all steps in the test.
UrlType:string
Returns 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.