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 to access the Project Settings dialog box.
- Go to Admin Admin >Project, under the Configuration column, click Configure next to a project.
- Go to Settings>Project Settings >Project Settings. It will open the project settings of the current project.
- Click the Environment tab.
- Click the Add button.
- Double-click in the Name field and enter the variable.
For example; URL. Double-click in the Value field and enter the associated value.
For example; http://www.google.com/.Expand title View Image - Click OK.
You can now use this variable as per your requirements in Test Cases and Tasks as displayed in the figure below.
When using Environment Variables in Test Cases or Tasks, make sure you enter the variable name inside braces “{}”.Expand title View Image
...