Page 1 of 1

control progress bar in test run dialogbox

Posted: Mon Sep 10, 2012 1:59 pm
by Christoph
Hi,

Is it possible to control the progress bar in the test run dialog box? (see screenshot). With control I mean initiate the progress bar, update the progress, remove it.

What I'd like to do is this:

I wrote my own routine that waits for an application to cease existing, using the process ID of the application. I do so in a loop with a long timeout (I'm willing to wait quite long, i.e 80 seconds) I now would like to indicate in the progress bar how much of the timeout has already elapsed.

Christoph

Re: control progress bar in test run dialogbox

Posted: Tue Sep 11, 2012 9:01 am
by Support Team
Hi,

I'm not sure if this is exactly what you want but try the following:
Report.Log(ReportLevel.Info,"category","message",new SimpleReportMetadata("timeout","80000"));
This gives you a progress bar which covers the whole bar in 80 seconds.

Kind Regards,
Larissa
Ranorex Support Team

Re: control progress bar in test run dialogbox

Posted: Tue Sep 11, 2012 10:01 am
by Christoph
Hi Larissa,

Thank you for your replay. That's exactly what I was looking for. It serves my purpose well.

Christoph