Hello;
I want to hide the progress bar during test case execution.
Do you know how is it possible by intriducing an argument to Test program (.exe) ?
Best ragards
Test argument to Hide the progress Bar
Test argument to Hide the progress Bar
Last edited by bberrabah on Mon Feb 12, 2018 10:03 am, edited 1 time in total.
Re: Test argument to Hide the pregress Bar
Hi,
As far as I know, there is no built-in command line parameter to do so. But you can easily implement one. You can disable/enable the progress form using this code:
Simply create a new code module in "Setup" section of your test suite. Then in this module, create a new module variable (e.g. hideProgressForm) and in the test suite, create a new global parameter (e.g. hideProgressForm). Now bind module variable in global parameter. Then use the newly created module variable in condition, like this:
Now you can fill the global parameter (hideProgressForm) from command line like this:
As far as I know, there is no built-in command line parameter to do so. But you can easily implement one. You can disable/enable the progress form using this code:
Code: Select all
// disable progress form
Ranorex.Controls.ProgressForm.Hide();
// enable progress form
Ranorex.Controls.ProgressForm.Show();
Code: Select all
if (hideProgressForm="True")
{
Ranorex.Controls.ProgressForm.Hide();
}
else
{
Ranorex.Controls.ProgressForm.Show();
}
If everything is set correctly, then in case hideProgressForm="True", the progress form should get disable at start of your test. Hope this helps?test.exe /pa:hideProgressForm=True
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: Test argument to Hide the pregress Bar
Thanks for every body.
Best regards
Best regards