Forum Discussion
The xml structure can be changed from TC, this is done by creating external scripts to change things like tags and elements...
However looking at the sample xml you shouldnt need to. your TM tool should be creating two test cases.
Why it is creating just one test case based on your <testsuite> is beyond me.
Its 2023 and test suites are likely to have many test cases.
Youll need to check with Qmetry and see can they change the way xml results are parsed on their side
- sanjayk12 months agoNew Contributor
Hi vinniew
Thanks for the detailed explanation. I just need to understand how we can change the xml structure using external scripts. Is there any reference link or code reference to do it. And i have one query is there any way to export the report in cucumber json format using Testcomplete because we are using bdd script structure.
- vinniew12 months agoStaff
Hi sanjayk
Just to be clear, the issue here is how your TM tool is parsing and consuming the xml data rather than the results.xml structure...
The .xml junit generated by TestComplete uses a standard structure, which is why im surprised your TM tool cannot parse it correctly.
I know using Zephyr Enterprise., you can change parsers and you customize how Zephyr consumes the XML.
Can your current Test management tool do this? maybe check with them as I mentioned its a fairly standard structure.
If you do want to change the structure I dont have exact examples but here is an idea of how we add elements and tags to the structure using external scripts
Related Content
- 11 months ago