control progress bar in test run dialogbox

Ask general questions here.
Christoph
Posts: 23
Joined: Wed Jul 11, 2012 6:22 am
Location: Liechtenstein

control progress bar in test run dialogbox

Post by Christoph » Mon Sep 10, 2012 1:59 pm

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: control progress bar in test run dialogbox

Post by Support Team » Tue Sep 11, 2012 9:01 am

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

Christoph
Posts: 23
Joined: Wed Jul 11, 2012 6:22 am
Location: Liechtenstein

Re: control progress bar in test run dialogbox

Post by Christoph » Tue Sep 11, 2012 10:01 am

Hi Larissa,

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

Christoph