FieldValueTestCaseConverter¶
-
MacroModule
¶ genre Test
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition FieldValueTestCaseConverter.def see also FieldValueTestCaseEditor
,FieldValueTestCaseIterator
,FieldValueTestCaseGenerator
keywords testcasemanager
Purpose¶
With the FieldValueTestCaseConverter
you can convert test parameter setting files from the XML format to a CSV format or vice versa.
XML parameter setting files are used in the modules FieldValueTestCaseGenerator
, FieldValueTestCaseEditor
, and FieldValueTestCaseIterator
. They can also be used in the TestCaseManager within the FIELDVALUETEST_ function macro.
Usage¶
Enter the XML filename in the Source XML
field and the CSV filename in the CSV Filename
field.
You can exchange the export source and target with the XML
and CSV
fields.
For CSV files, you can define a separation character within the Delimiter
list.
Tips¶
You can open the non default xmlToFormattedXml window of this module to do a pretty print formatting for any XML file.
Parameter Fields¶
Field Index¶
CSV : Enum |
CSV Filename : String |
Delimiter : Enum |
Export : Trigger |
init : Trigger |
newLineSubstitute : String |
Source XML : String |
XML : Enum |
Visible Fields¶
Source XML¶
-
name:
xmlFilename
, type:
String
¶ Sets the test parameter setting files in XML format used as export source or target.
CSV Filename¶
-
name:
csvFilename
, type:
String
¶ Sets the test parameter setting files in CSV format used as export source or target.
XML¶
-
name:
xml
, type:
Enum
, default:
source
¶ Defines whether the XML file is used as a source of conversion or the target.