Run app in background command

Identifies the active application automatically, moves it to the background for the timeout defined, and then returns it to the foreground. You can check how your application behaves when coming back into foreground: Is your data saved? Is your session alive? Did your application crash?

Parameters

Name Type Possible values Description

Device ID*

String

 

The device for this command. By default, this is the device under test (DUT).

Timeout

Number

 

The time, in seconds, to run the current application as a background application.

Comment

String

 

Adds a comment to the script

On-fail Result*

Condition

Ignore | Break | Continue| Abort | Catch

The behavior when the command fails.

* Mandatory parameter