Variables
- 8:58 PM - 0 comments
QTP Frame Work - Environment Variables
Environment Variables
QuickTest can insert a value from the Environment variable list, which is a list of variables and corresponding values that can be accessed from your test. Throughout the test run, the value of an environment variable remains the same, regardless of the number of iterations, unless you change the value of the variable programmatically in your script.
There are three types of environment variables:
Tip: You can also create environment output values, which retrieve values during the test run and output them to internal environment variable parameters for use in your test.
QuickTest can insert a value from the Environment variable list, which is a list of variables and corresponding values that can be accessed from your test. Throughout the test run, the value of an environment variable remains the same, regardless of the number of iterations, unless you change the value of the variable programmatically in your script.
There are three types of environment variables:
- User-Defined Internal—variables that you define within the test. These variables are saved with the test and are accessible only within the test in which they were defined.
Tip: You can also create environment output values, which retrieve values during the test run and output them to internal environment variable parameters for use in your test.
- User-Defined External—variables that you predefine in the active external environment variables file. You can create as many files as you want and select an appropriate file for each test, or change files for each test run. Note that external environment variable values are designated as read-only within the test.
- Built-in—variables that represent information about the test and the computer on which the test is run, such as Test path and Operating system. These variables are accessible from all tests, and are designated as read-only.


0 Responses to "QTP Frame Work - Environment Variables"
Post a Comment