Formatting in a report

Best practices, code snippets for common functionality, examples, and guidelines.
HansSchl
Posts: 125
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: 125
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?

pDSFEWR231
Posts: 6
Joined: Thu Aug 12, 2021 9:27 am

Re: Formatting in a report

Post by pDSFEWR231 » Tue Jul 12, 2022 7:52 am

I learned something new today. best fence

pDSFEWR231
Posts: 6
Joined: Thu Aug 12, 2021 9:27 am

Re: Formatting in a report

Post by pDSFEWR231 » Thu Jul 21, 2022 9:02 am

Nice learning new things everyday. navigate to this website

lemieuxhelmsis
Posts: 1
Joined: Wed Apr 27, 2022 2:37 pm

Re: Formatting in a report

Post by lemieuxhelmsis » Thu Jul 21, 2022 4:22 pm

Very informative!

Marie143
Posts: 1
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?

davidson02
Posts: 1
Joined: Mon Feb 28, 2022 11:22 pm

Re: Formatting in a report

Post by davidson02 » Sat Jul 30, 2022 6:12 am

Thanks for sharing all your insights! .