Page 1 of 1

Escape chars/unprintable chars breaks JUnit report

Posted: Mon Mar 26, 2018 5:22 pm
by Darwin
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.

Re: Escape chars/unprintable chars breaks JUnit report

Posted: Tue Mar 27, 2018 7:46 pm
by Support Team
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