Environments
Environments store reusable parameters - such as base URLs - that you attach to a test case and reference in steps. Use one environment with multiple parameter values so the same steps can target QA, UAT, or other configs without rewriting the case.
Pair environments with Data profiles for parameterized test data. Organize suites under Projects and run them with Cloud Execution.
Environments listEnvironments list
Click Environments in the left sidebar to see all environments.
How to create an EnvironmentHow to create an Environment
-
Go to Environments
Go to Environments in the sidebar.
-
Create
Click + Create Environment in the top right.
-
Name the environment
Enter a name - for example
stagingorproduction.
How to delete an EnvironmentHow to delete an Environment
Click the red trash icon in the Actions column and confirm deletion.
ParametersParameters
When you open an environment, the Parameters tab is shown by default. Parameters are key-value pairs - for example a Parameter Name of QA with a Parameter Value of https://qa.qality.dev.
If a parameter has no value it shows as -. Always set a value before running test cases with this environment.
How to add a ParameterHow to add a Parameter
-
Open an environment
Open an environment from the list.
-
Parameters tab
Stay on the Parameters tab.
-
Add
Click + Add.
-
Enter values
Enter the Parameter Name and Parameter Value.
-
Save
Save.
Using an Environment in a test caseUsing an Environment in a test case
Use this flow after you have created an environment and added parameters (including URLs):
Open the test case. In the Test Case Overview side panel, set Environment to the environment you created (for example env-1). You can also set Data Profile here when you use one.
In Test Steps, type or edit a value such as a URL or label. Highlight the part you want to parameterize.
From the menu choose Environment (shown as *|Environment|). You can also choose Plain Text or Parameter (@|Parameter|) when you need a different value type.
The step shows the environment parameter in this form: *|parameter_name|. Example: Navigate to *|QA| uses the QA parameter value from the selected environment (such as https://qa.qality.dev).
Use environment parameters for values that change by target - base URLs, credentials, API endpoints, or config keys. Keep the Parameter Name short and clear so it is easy to pick in steps.
Environments are created manually - they are not created by the recorder.
Best practicesBest practices
- Name environments clearly -
env-1,staging,production - Add URL parameters for each target you need - for example
QAandUAT - Select the Environment on the test case side panel before you run
- Always set values for all parameters before running
- Delete unused environments to keep the list clean