Development of a generator for creating XML test cases for insurance contracts
Project duration: 3 months
Brief description
The generator is implemented in the JAVA programming language and creates insurance test cases. 2 Excel files are prepared and imported in order to create the insurance test cases in XML.
Supplement
EXCEL files can be imported using the Java-Lib POI. The two EXCEL files provide direct information for the XML attributes and/or meta information. Some XML attributes have to be calculated, meta information is used for this. In order to give the XML test case its structure, there is a model class divided into various internal classes. Each internal class represents an organizational main node. Direct mapping of the EXCEL information takes place with the model class, because the EXCEL information contains the required attribute names. These classes are filled by means of the ReflectionAPI and written into a Java document object. Using Java transformer object, it is possible to generate a string object and then save it as an XML file.
Subject description
The Insurance department is capable of generating XML test cases which cover various scenarios in the insurance calculation. The two imported EXCEL files specify what type of XML test case is created.