Hi.
We use Captura to capture video of the screen to document the automated tests in case some error is inexplicable by Report alone (keystrokes and mouse movements are documented as overlays).
this works well if a test is started from the local machine, because the Runner will include a Progress indicator in the lower right corner, thereby documenting where we are in the TestCase in sync with the happenings on video.
If I start the test remotely by agent, though, the Progress is indicated on the remote machine, which makes it harder to fit the video to the Report, because you have to navigate by time-code.
Is there a way to activate the progress-bar on the machine running the test as well as on the remote machine?
Agents and Progress indicator
Re: Agents and Progress indicator
Hi,
As far as I know, there is no way to enable progress dialog on remote machine (when using remote agent)? I think the only solution of your problem is to setup a proper CI system (like Jenkins) with Master/Slave configuration and then run your test via command line (on Slave machine). In other words, you will have to avoid Ranorex Studio remote agents to achieve what you want.
As far as I know, there is no way to enable progress dialog on remote machine (when using remote agent)? I think the only solution of your problem is to setup a proper CI system (like Jenkins) with Master/Slave configuration and then run your test via command line (on Slave machine). In other words, you will have to avoid Ranorex Studio remote agents to achieve what you want.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Agents and Progress indicator
I just self-solved 
Just add
in some recording at the very beginning, and the progress-window will show up.

Just add
Code: Select all
Ranorex.Controls.ProgressForm.Show();
Re: Agents and Progress indicator
Cool! I thought this command shows the indicator only locally? Good to know it works with remote agent too 

Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Agents and Progress indicator
Perhaps we are talking about different values of local? I used "local" inconsistently (it might be called remote in one instance. Let's say the machine with the AUT. The AUT-machine does not have a progress window, if started by agent, but with the above code snippet, it does (the progress in the remote pad on the non-AUT stays).
I added some customization, because the progress window usually is too high and too short for my taste:
I added some customization, because the progress window usually is too high and too short for my taste:
Code: Select all
Ranorex.Controls.ProgressForm.Show(); // this forces the ProgressBar (also on Agent-driven Tests) to show
int width = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width/2;
int height = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height/7;
int xpos = 0;
int ypos = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height- height -30; // on the lower edge, but higher than win-bar
Ranorex.Controls.ProgressForm.Instance.SetBounds(xpos,ypos,width,height);