What is QTP environmental variable?

Questions by nvs.venkata

Showing Answers 1 - 1 of 1 Answers

vras_99

  • Oct 17th, 2006
 

Environment variable is a variable with their corresponding value. Quick Test can insert a value from list of environment variable list. 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.
  • 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.
  • 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 components, and are designated as read-only.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions