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
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.
You do not have the required permissions to view the files attached to this post.

krstcs
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...