Converting exported .xml files from Zephyr Squad test cycles using npm start, fails the conversion.
We are moving from Zephyr Squad (Jira Server) to Zephyr Scale (server). When we export test cases in .xml format from a Zephyr Squad test cycle and run the npm conversion utility "npm start", the conversion fails on these exported .xml test cases from the Zephyr Squad test cycle. The conversion does not fail for exported .xml test cases if the .xml export was from a Zephyr Squad test case search or from a previously saved Zephyr Squad test case search filter. Because of these errors during the .xml conversion, the test cases from the Zephyr Squad test cycles are not converted and Zephyr Squad test cases cannot be imported to Zephyr Scale test case folders/cycles.
We are following directions from this Smartbear/ZephyrScale Support page:
See failed conversion below and attached file: (Note: The npm environment is setup properly since other .xml exports can be converted successfully as noted above).
C:\ZephyrSquad\zephyr-scale-file-converter-main\input>npm start
> tm4j-file-converter@1.0.0 start C:\ZephyrSquad\zephyr-scale-file-converter-main
> node app/index.js
TypeError: Cannot read property 'channel' of undefined
at Object.parseTestCases (C:\ZephyrSquad\zephyr-scale-file-converter-main\app\testCaseXMLParser.js:76:39)
at async runConversion (C:\ZephyrSquad\zephyr-scale-file-converter-main\app\index.js:29:27)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tm4j-file-converter@1.0.0 start: `node app/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tm4j-file-converter@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.