Sync activity command

Verifies that the Android package or activity has started on the device. At least one of the package or activity parameters must be provided.

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 wait for the package or activity to start. Default: 20 seconds

Package

String

 

The Android identifier of the application.

Example: com.sec.android.app.camera

Activity

String

 

The name of the activity. Example: .Camera

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