Share via


EnvironmentVariables element

Represents a set of one or more environment variables that you want to set for a diagnostic test or set for a step in a diagnostic test.

Usage

<EnvironmentVariables>
  child elements
</EnvironmentVariables>

Attributes

There are no attributes.

Child elements

Element Description

Variable

Represents an environment variable that you want to set for a diagnostic test or set for a step in a diagnostic test.

Child element sequence

Variable+

Parent elements

Element Description

DiagnosticTest

Defines a custom diagnostic test, including the metadata, parameters, environment variables, and commands for the test.

PostStep

Defines the PostStep stage of a custom diagnostic test. The PostStep stage processes the output from all of the nodes on which the test ran and prepares the results for display.

PreStep

Defines the PreStep stage of a custom diagnostic test The PreStep stage performs validation and prepares the environment for running the test.

RunStep

Defines the RunStep stage of a custom diagnostic test. The RunStep stage runs the actual diagnostic test.

Remarks

This element can apply to an entire diagnostic test or to a specific stage in a diagnostic test.

When the EnvironmentVariables element is a child of the DiagnosticTest element, the EnvironmentVariables element sets the environment variables for the entire test. When the EnvironmentVariables element is a child of the PreStep, RunStep, or PostStep element, the EnvironmentVariables element sets the environment variables only for the stage that corresponds to the parent element of the EnvironmentVariables element.

Element information

Schema file DiagnosticTests.xsd
Can be empty No

See also

DiagnosticTest

PreStep

RunStep

PostStep