Skip to content

Manage Environment variables

You can manage environment variables from the Administration workspace. For this, in the sub-menu "Entities", click on the anchor Environment variables.

Environment variables are used for running automated tests with Squash AUTOM.

With them, it is possible to indicate for example the credentials, the environment type (prod/preprod), the git branch or the browser used to launch the tests.

Learn more

For more information on environment variables use cases, visit the Squash AUTOM/DEVOPS documentation

There are two types of environment variables:

  • Plain text
  • Dropdown list

Focus

Once created, environment variables must be associated with a Squash AUTOM test automation server.
To associate environment variables with a test automation server, please visit this page.

Add, Modify, and Delete environment variables

From the table to manage envrionment variables, you can add Add icon or delete Delete icon one or multiple environment variables.

Table - Manage environment variables

When creating an environment variable, you must complete:

  • the "Name" field (can only contain letters, numbers and undersores)
  • the Type of environment variable (by default, "Plain text" is selected)
  • for dropdown lists, the name of the items (can only contain letters, numbers, -, _, . and spaces)

By clicking on an environment variable's row number (#) or its name, the custom field's consultation page appears for you to edit if needed.

Environment variable consultation page