EnvironmentVariable element

Represents an environment variable that you want to set for the RunStep stage of a diagnostic test.

Usage

<EnvironmentVariable
  Name = "character_string"
  Value = "character_string"/>

Attributes

Attribute Type Required Description

Name

character_string

Yes

The name of the environment variable that you want to set for the RunStep stage of the diagnostic test.

Value

character_string

No

The value that you want to set for the environment variable.

Child elements

There are no child elements.

Parent elements

Element Description

Environment

Represents the environment variables that you want to set for the RunStep stage of a diagnostic test.

Remarks

This element should appear in the StepResult XML only for the PreStep stage of a diagnostic test. This element should not appear in the StepResult XML for the RunStep and PostStep stages.

If the PreStepResult.xml file and the test definition XML set the same environment variable, the value that is specified in the PreStepResult.xml file overrides the value that is set globally or set for the RunStep stage in the test definition XML file.

Element information

Can be empty Yes

See also

Environment