How Can I Programmatically Read Data in a ATML Report from TestStand

Updated May 17, 2023



  • LabVIEW
  • TestStand

I have a Automatic Test Markup Language (ATML) report file from TestStand and I want to read/access data from LabVIEW (or other programming languages).

The ATML format is based on XML so you read data the same way:
  1. Open a DOM document reference to the XML String with the Load XML String VI.
  2. Pass the given XPath Expression to the Get All Matched Nodes VI to find all nodes (tags) within the XML that match the given XPath expression.
  3. For each node, call the Get XML method to retrieve the node string.
  4. Make sure to call the Close VI to close all XML parser class references that you open.

The only difference is the XPath string e.g. : //trc:TestResultsCollection/trc:TestResults/tr:ResultSet/tr:SessionAction/tr:Data/c:Collection/c:Item/c:Datum/@value

Additional Information

The solution is detailed for LabVIEW only but should be a good guideline for other programming languages.