To simplify integration to other 3rd party test systems, we introduce WATS Standard XML Format. This is in addition to WATS Standard Text Format.
Note: The WSXF Converter installs by default in WATS Client 5.0 or greater. This article applies for WATS Client version 4.2.
The WSXF Converter inputs data from WATS Standard XML Format into the WATS system.
2018-09-26: Converter supports StringValue attribute for StringValue being empty string.
2018-08-20: Converter fixes. Report ID, Revision, and Step ID’s can be omitted. Typedef for MiscInfo can be omitted.
2017-03-20: Pass/Fail bug fixed.
2017-03-16: New Version of .dll uploaded. Bug fix to support upload of WSXF that has been exported from WATS.
The WSXF Converter is integrated in the WATS Client.
If you're already running WATS Client v4.2, follow this procedure:
- Download WSXFConverter.dll.
- Check the Unblock Property of the downloaded file:
Stop WATS Client Service in Services.
Create a new folder named “WatsStandardXmlFormat” at C:\Documents and Settings\All Users\Application Data\Virinco\WATS (Win XP) or C:\ProgramData\Virinco\WATS (Win 7).
Add this text to the Converters.xml file (same path as first step). This file can refer to several converters.
<converter name="WSXFConverter" assembly="WSXFConverter" class="Virinco.WATS.Interface.WSXFConverter">
Add WSXFConverter.dll to folder C:\Program Files\Virinco\WATS .
Start WATS Client Service in Services
If an XML file is saved to the directory (C:\Documents and Settings\All Users\Application Data\Virinco\WATS\WatsStandardXmlFormat (Win XP) or C:\ProgramData\Virinco\WATS\WatsStandardXmlFormat,(Win7) )
the WATS Client will automatically read and import the file into WATS.
The schema and examples of xml files in this format is described in: https://virinco.zendesk.com/hc/en-us/articles/207424643-Wats-Standard-Xml-Format-WSXF-
The file consists one or more Report-elements in the top Reports-element. Each Report-element represents one UUT report, and contains general information and a hierarchy of test steps. The steps contain measurements, like pass/fail test, numeric limit test, string value test etc.
The WATS API supports two methods for importing data: Active and Import. When operating in Active mode, the result of a step, sequence and test is set automatically using the measure, compare operator and the limit(s). In Import mode, the status (pass/fail) must be set manually.
The Wats Standard Xml Format converter use the Import method. The status-fields are required in the schema and will be used.
Description & Example
The DLL is Attached (WSXFConverter.dll)
An example Converters.xml file is Attached, with text from Step3 in Installation above.
Please see the attached PDF for more detailed description (DocumentationWSXFConverter.pdf).
See https://virinco.zendesk.com/entries/81403159-Wats-Standard-Xml-Format-WSXF- for schema and examples.