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:
Managing the app lifecycle (open, kill, clear)
Simulating device actions (going back to previous screen)
Updating device state (GPS/location)
Switching between apps
Storing or reusing values within a test
Last updated
Was this helpful?