Formatting in a report

Best practices, code snippets for common functionality, examples, and guidelines.
HansSchl
Posts: 143
Joined: Wed Sep 19, 2018 10:05 am

Formatting in a report

Post by HansSchl » Tue Dec 15, 2020 10:17 am

Is it possible to include formatting in a message written by user code via Report.Log? For example, bold font, line break, or a table?
("\n" in the output string results in a space, and "<br/>" is output literally.)

Thank you!
Hans

HansSchl
Posts: 143
Joined: Wed Sep 19, 2018 10:05 am

Re: Formatting in a report

Post by HansSchl » Fri Feb 18, 2022 5:42 pm

From some other post I learnt that, to create a line break in the Ranorex report, I must output "\r\n". Unfortunately this is reduced to a whitespace character in TestRail. Is there a way to create a multi-line string that looks equally nice in the report and in TestRail?

Marie143
Posts: 30
Joined: Tue Jul 26, 2022 5:20 pm

Re: Formatting in a report

Post by Marie143 » Tue Jul 26, 2022 5:22 pm

Is it possible?