Enumeration

XCUIApplication.State

The possible states an application can be in during UI testing.

Topics

Enumeration Cases

case unknown

The application's current state is not known.

case notRunning

The application is not running.

case runningBackgroundSuspended

The application is running in the background, but is suspended.

case runningBackground

The application is running in the background.

case runningForeground

The application is running in the foreground.

See Also

Determining Application State

var state: XCUIApplication.State

The most recently observed state of the application.