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
Attachments
ProgressBar.jpg
Screenshot
ProgressBar.jpg (22.15 KiB) Viewed 983 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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

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