Skip to content

Virinco/WATS-Client-Converter-Example

Repository files navigation

WATS Client Converter - XML Converter Example

An example of a WATS Client converter, using an XML format to import test data to WATS. This example format is a different format from the WATS Standard XML Format. An example file of this XML format can be found in the Examples folder.

This project is an example of how you can create a custom converter reading a custom XML format using the WATS API for the WATS Client. Use it as a starting point for creating your own converter.

Getting Started

Parameters

This converter uses the following parameters:

Parameter Default value Description
sequenceFile The name of the sequence file used to generate the XML file.

Testing

The project uses the MSTest framework for testing the converter.

It is setup with two tests; one for setting up the API by registering the client to your WATS, and one for running the converter.

The values are hardcoded in the test, so you will need to change the values to reflect your setup.

  • In SetupClient, fill in your information in the the call to RegisterClient.
  • In TestConverter, fill in the path to the file you want to test the converter with. There are example files in the Examples folder.
  • Run SetupClient once, then you can run TestConverter as many times as you want.

Note that the start date in the example files are going to be old, so in WATS you will have to set the From Date filter to see the report in Test Reports.

Contact

  • Issues with the converter or suggestions for improvements can be submitted as an issue here on GitHub.
  • Ask questions about WATS in the WATS Community Help
  • Suggestions for the WATS Client itself or WATS in general can be submitted to the WATS Idea Exchange
  • Sensitive installation issues or other sensitive questions can be sent to support@virinco.com

License

This project is licensed under the LGPLv3 which is an extention of the GPLv3.

About

Example of a WATS Client converter, using an XML format to import test data to WATS.

Topics

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Languages