Instance Method

launch()

Launches the application.

Declaration

func launch()

Discussion

This call is synchronous. When it returns, the application is launched and ready to handle user events. Any failure in the launch sequence is reported as a test failure and halts the test at this point.

If the application is already running, this call will terminate the existing instance, to ensure a clean launch state for the newly launched instance.

See Also

Launching the Application

var launchArguments: [String]

The arguments that will be passed to the application on launch.

var launchEnvironment: [String : String]

The environment variables that will be passed to the application on launch.