Write text to Ranorex.Controls.ProgressForm without logging

Ask general questions here.
fester13579
Posts: 30
Joined: Thu Feb 13, 2014 10:29 pm

Write text to Ranorex.Controls.ProgressForm without logging

Post by fester13579 » Tue Jul 11, 2017 4:07 pm

Is there a way to write text to the Ranorex.Controls.ProgressForm BUT not have it show up in the log.

I use the code report.info() to use that window during a long wait cycle which can be hours long for some tests.
code snipit.jpg
code snipit.jpg (6.53 KiB) Viewed 340 times
But this floods the log with pages and pages of unnecessary data
log output.jpg
log output.jpg (44.79 KiB) Viewed 340 times
Is there a way to do this but not have it appended to the log output?

Thanks.

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Write text to Ranorex.Controls.ProgressForm without logging

Post by krstcs » Tue Jul 11, 2017 4:32 pm

Probably the best way to do this is to change from Report.Info(...) to Report.Debug(...). By default Debug level statements are not output to the report (this can be changed if needed for actual debugging), but they should show up on the progress dialog.
Shortcuts usually aren't...