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:Click the Add button
- From the Expand Menu, click Project Management , select the project, click the Configure link in the main screen.
- From the Expand Menu, click Settings. It will open the project settings of the current project.
- Click the Environment Variables tab.
- > 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 For example: URL. Enter the associated value in the Value Active Value field.
For For example: httphttps://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 “{}”.
...