System Command

System Commands are used to control the device environment, app lifecycle, and system-level behaviors during a test run. These commands follow a strict, fixed syntax and must be executed exactly as defined. System Commands operate outside the UI layer and are not influenced by on-screen elements.

They are typically used for:

  1. Managing the app lifecycle (open, kill, clear)

  2. Simulating device actions (going back to previous screen)

  3. Updating device state (GPS/location)

  4. Switching between apps

  5. Storing or reusing values within a test

Last updated

Was this helpful?