ENVIRONMENT VARIABLES:
Description :
You
can set or retrieve the value of environment variables using the Environment
object. You can retrieve the value of any environment variable. You can set the
value of only user-defined, environment variables.
Syntax :
Environment.ExternalFileName:
Description :
Returns
the name of the loaded external environment variable file specified in the
Environment tab of the Test Settings dialog box. If no external environment
variable file is loaded, returns an empty string.
Syntax:
Example :
The
following example uses the ExternalFileName property to check whether an
environment variable file is loaded, and if not, loads a specific file and then
displays one of the values from the file.
-------------------------------------------------------------------------------------------------
Environment.LoadFromFile filename
Description:
Loads the specified environment
variable file. The environment variable file must be an XML file using the
following syntax:
For
more information about environment variable files, refer to the QuickTest Professional User's
Guide.
No comments:
Post a Comment