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 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 several types of environment variables:
Environment variable type | Description |
---|---|
Plain text | The value is transmitted as is to the execution environment. |
Dropdown list | The value can be selected from a list of options and is transmitted as is to the execution environment. |
Interpreted text | Thue value is interpreted by the execution environment. |
Focus
Once created, environment variables must be associated with a Squash AUTOM test automation server or a project.
Add, Modify, and Delete environment variables
From the table to manage envrionment variables, you can add or delete one or multiple 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.