Testopia:Documentation:CSV2XML: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 51: Line 51:
*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.
==.work file==
The parser Class::CSV->parse() is passed a field list and needs a data file without header information.  The .work file is created from the CSV supplied without the header line.
==Extend Characters==


Any columns other than those described above are ignored.
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.
 
==Errors==


==Samples==
* Failed to parse line: "..." is a error from Class::CSV->parse() and could be cuase by extend characters.  Save the error message into a file and use the Linux utility od -c to see if any extend characters are included in the file.


<br>Back to the [[Testopia |Testopia Main Page]]
<br>Back to the [[Testopia |Testopia Main Page]]
15

edits

Navigation menu