How to bold specific content in ranorex.info or screenshot

Ask general questions here.
pmaladi
Posts: 10
Joined: Thu Aug 17, 2017 9:42 pm

How to bold specific content in ranorex.info or screenshot

Post by pmaladi » Thu Aug 17, 2017 9:52 pm

Hi Team,

i am in need to highlight(bold) some content in reporting, can someone please suggest me how to do that ?

asdf
Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: How to bold specific content in ranorex.info or screenshot

Post by asdf » Fri Aug 18, 2017 2:16 pm

Hi pmaladi,

In order to highlight one line in the report, I would suggest either logging a warning or a HTML tag that represents a bold text.
If you do it with the Report.LogHtml() method, you will have to use the <b></b>-tag in order to get the text bold.
Report.LogHtml.png
Report.LogHtml.png (15 KiB) Viewed 367 times
The highlighting is much more intensive, if you are using the Report.Warn() method. Please be aware that you might not see some relevant "real" Ranorex Warnings when using this method.
Report.Warn.png
Report.Warn.png (12.6 KiB) Viewed 367 times
Hope this helps.

Best regards,
asdf

pmaladi
Posts: 10
Joined: Thu Aug 17, 2017 9:42 pm

Re: How to bold specific content in ranorex.info or screenshot

Post by pmaladi » Fri Aug 18, 2017 3:36 pm

thank you