Enumeration

XCUIApplicationState

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

Declaration

typedef enum XCUIApplicationState : NSUInteger {
    ...
} XCUIApplicationState;

Topics

Enumeration Cases

XCUIApplicationStateUnknown

The application’s current state is not known.

XCUIApplicationStateNotRunning

The application is not running.

XCUIApplicationStateRunningBackgroundSuspended

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

XCUIApplicationStateRunningBackground

The application is running in the background.

XCUIApplicationStateRunningForeground

The application is running in the foreground.

See Also

Determining Application State

state

The most recently observed state of the application.