<Test> Element

TestStand ATML Toolkit 2017 Help

Edition Date: June 2018

Part Number: 374205B-01

»View Product Info
Download Help (Windows Only)

A <Test> element defines a step for the test program to complete. The <Test> element in the 3.0 schema behaves as the <Action> element in the 1.01 schema.

The translator initially translates a <Test> element into a TestStand step in a sequence named ATMLTDDataSequence. The name of the step is the same as the value of the name attribute of the <Test> element. The translator then copies the step into the sequence it creates for the <TestGroup> element. The ATMLTDDataSequence sequence is hidden on the Sequences pane.

Caution Caution  Do not edit or modify the ATMLTDDataSequence because the translator uses the steps in the ATMLTDDataSequence to incrementally update <Test> elements.

The <Test>/<Behavior> element defines how the test program must implement the step. The translator translates the <Behavior> element as a code module for the translated step. Enable the LabVIEW or LabWindows/CVI option on the Code Module Settings tab of the ATML Test Description Translator Configuration dialog box to specify that the translator create code modules in LabVIEW or LabWindows/CVI, respectively. The name of the VI or function the translator creates is the same as the value of the name attribute of the <Test> element.

The type of test the translated step implements depends on the value of the xsi:type attribute of the <Test> element and the limits that the <Test>/<TestResults>/<TestResult>/<TestLimits> element defines. The xsi:type attribute can specify a value of SessionTest or Test.

Note Note  If you specify a value for the customType attribute of the <Test> element, the translator creates a TestStand step but the value of the customType attribute specifies the step type.
Incremental Update Incremental Update  The translator distinguishes <Test> elements based on the name attribute. If you modify the name attribute for a <Test> element, the translator considers the element a new <Test> element and creates a new step that corresponds to that <Test> element. The translator searches for the corresponding step in the ATMLTDDataSequence and updates the step based on the changes in the source TD instance document.


The step stores all attributes as TestStand PropertyObject attributes.

Child Elements

The translator translates the following child elements of the <Test> element to a TestStand construct or to a LabVIEW or LabWindows/CVI code module construct:

See Also

<Test> Element

ATML Test Description Translator Configuration dialog box

Creating LabVIEW Code Modules for <Behavior> Elements

Creating LabWindows/CVI Code Modules for <Behavior> Elements

Flow of Steps for Translating a <Test> Element

PropertyObject Attributes

Sequences Pane

<Step> Element

Storing TD Instance Document Attributes in a Translated Sequence

<TestGroup> Element

TestGroupSequence Type


Not Helpful