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.
This converter uses the following parameters:
Parameter | Default value | Description |
---|---|---|
sequenceFile | The name of the sequence file used to generate the XML file. |
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.
- 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 [email protected]
This project is licensed under the LGPLv3 which is an extention of the GPLv3.