System variables

On this page

System Variables are execution values provided by the system.
They are available in some scenario actions without being created by the user.

Use System Variables when a scenario needs values that depend on the run environment,
such as the current device, operating system, active app, or clipboard value.

Before you start

  • System Variable names start with @, such as @OS.
  • Read-only variables cannot be changed manually.
  • Editable variables may affect later steps in the scenario. Check how the value is used before changing it.
  • For values that you define yourself, use User Variables in Configuring Scenario Settings.

System variables

System VariableDescriptionEditable
@OSOperating system of the device. Example: Android, iOSNo
@OS_VERSIONOperating system version. Example: 14.4, 13.0.1No
@MODEL_NAMEDevice model number. Example: SM-G991NNo
@DEVICE_NAMEDevice name.No
@ACTIVE_APP_IDPackage Name or Bundle ID of the app currently shown on the screen.No
@HTTP_PROXY_SERVER_URLProxy server URL used for HAR (HTTP Archive format) collection.No
@HTTP_PROXY_PORTProxy server port used for HAR collection.No
@AUTHORING_MODEShows ON when the scenario runs in Stego and OFF when it runs in Ptero.No
@CLIPBOARDValue currently stored in the device clipboard.Yes
@WAIT_FOR_NAVIGATION_TIMEOUTScreen-transition wait time between steps, in ms. The default value is 3,000.Yes
@PHASEThe last stored value is automatically added as a label in Ptero test results.Yes