Testopia:Documentation:CSV2XML: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 36: Line 36:
*cleanupsteps - added to Break Down section.
*cleanupsteps - added to Break Down section.
*component - component for test case.
*component - component for test case.
*description - summary unless testcasename is defined.  added to Action section if -tcdb flag used.
*description - summary unless testcasename is defined.  Added to Action section if -tcdb flag used.
*environment - split apart at each comma to become a tag.
*environment - split apart at each comma to become a tag.
*folder - only processed if -tcdb option is supplied.  split apart at each '/'.  based on each teams input one field becomes the category and others tags.  each team defines which sub folders they want to use.
*folder - only processed if -tcdb option is supplied.  Split apart at each '/'.  Based on each teams input one field becomes the category and others tags.  Each team defines which sub folders they want to use and by default field 4 becomes the category and fields 5 and beyond are tags.
*longdescription - added to Action section if -tcdb flag used.
*longdescription - added to Action section if -tcdb flag used.
*owner (required) - in TCDB this is a ID that is mapped to a email address from the file tcdbUsers.
*owner (required) - in TCDB this is a ID that is mapped to a email address from the file tcdbUsers.
*passfaildefinition - added to Expected Results section.
*passfaildefinition - added to Expected Results section.
*priority - becomes the priority.  I just a number P is prepended.
*priority - becomes the priority.  If just a number P is prepended.
*result - see passfaildefinition.
*result - see passfaildefinition.
*resdetails - added to Action section if -tcdb flag used.
*resdetails - added to Action section if -tcdb flag used.
Line 49: Line 49:
*summary - see testcasename.
*summary - see testcasename.
*tags - see attributes.
*tags - see attributes.
*testcasename - becomes the summary.  if testcasename is not supplied the description is the summary.  if testcasename and description are both null a error is generated.  added to Action section if -tcdb flag used.
*testcasename - becomes the summary.  if testcasename is not supplied the description is the summary.  If testcasename and description are both null a error is generated.  Added to Action section if -tcdb flag used.


Any columns other than those described above are ignored.
Any columns other than those described above are ignored.
Line 59: Line 59:
==Extend Characters==
==Extend Characters==


The parser Class::CSV->parse() does not accept extend characters and will error if extend characters are found.  A subset of extend characters are converted to HTML entities when the .work file is created.  Additional conversions for extend characters may need to be added at the top of the remvoe_field_list() method in tr_csv2xml.pl if you see the Failed to parse line error described int he Errors section.
The parser Class::CSV->parse() does not accept extend characters and will error if extend characters are found.  A subset of extend characters are converted to HTML entities when the .work file is created.  Additional conversions for extend characters may need to be added at the top of the remvoe_field_list() method in tr_csv2xml.pl if you see the Failed to parse line error described in the Errors section.


==Errors==
==Errors==
15

edits