Page 1 of 1

Write text to Ranorex.Controls.ProgressForm without logging

Posted: Tue Jul 11, 2017 4:07 pm
by fester13579
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
But this floods the log with pages and pages of unnecessary data
log output.jpg
Is there a way to do this but not have it appended to the log output?

Thanks.

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

Posted: Tue Jul 11, 2017 4:32 pm
by krstcs
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.