Skip to main content

TestResultContainer class

An object of this type represents the result of running a test. It bundles together the test results and an exception status.

Import statement

from applitools.selenium import TestResultContainer

browser_info property

Syntax

obj.browser_info  = value
value = obj.browser_info

Type: RenderBrowserInfo

If this test was run using the Ultrafast Grid, then an object is returned which has the browser configuration information. If the test was not run on the Ultrafast Grid, then a value of None is returned.

exception property

Syntax

obj.exception  = value
value = obj.exception

Type: Exception

A value that is not None indicates that an exception occurred when running the test.

test_results property

Syntax

obj.test_results  = value
value = obj.test_results

Type: TestResults