Escape chars/unprintable chars breaks JUnit report

Bug reports.
Darwin
Posts: 26
Joined: Tue Jul 25, 2017 9:00 pm

Escape chars/unprintable chars breaks JUnit report

Post by Darwin » Mon Mar 26, 2018 5:22 pm

1. Enable "Create a JUnit compatible copy of the Report" in test suite
2. Add a test case or recording that calls a user code module
3. Enter this code in the default user code method:

Code: Select all

Report.Log(ReportLevel.Info, "N^´ûÈZ÷~¸‰a\u001c?Â/\u0005");
4. Run test
5. Open the XML report

Result: Bad XML format. Closing tags "</system-out></testcase></testsuite>", etc., omitted. Logging elsewhere succeeded but to XML file logging ceased once this entry made.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Escape chars/unprintable chars breaks JUnit report

Post by Support Team » Tue Mar 27, 2018 7:46 pm

Hello Darwin,

Thank you for this bug report, we have since added it to our internal bug tracking system. Currently, we do not know if and when this issue will be fixed as this depends on various factors. Nevertheless, all new features, updates, and bug fixes are documented in the release notes with every new version release of Ranorex.

Kind Regards,
Ned
.
Image