An Environment Variable is used to specify a common value that is needed in multiple test cases and tasks for a project.
To create an Environment Variable:
- Do one of the following:
- From the Expand Menu, click Project Management > Configure > Project Configuration
- From the Expand menu, click Settings > Project Configuration
- Click the Environment Variable menu present in the left pane.
- Enter the variable in the Name field. For example: URL.
Enter the associated value in the Active Value field. For example: https://www.google.com/.
- Click the Arrow icon (highlighted below) to create the environment variable:
- Click Save.
You can now use this variable in Test Cases and Tasks as displayed in the following image:
When using Environment Variables in Test Cases or Tasks, make sure you enter the variable name inside braces “{}”.
...