Page 1 of 1

Testing progress bar

Posted: Wed Jan 29, 2020 4:14 pm
by ameli
Hi,

I would like to test correct behaviour of a progress bar.
Ranorex is able to retrieve an element called Value, which contains the value of the progress bar.
Value changes over time as the process goes on.
Which action should I use?

I work with ranorex studio 9.2

Thanks
Andrea

Re: Testing progress bar

Posted: Thu Jan 30, 2020 10:50 am
by odklizec
Hi,

Could you please share a Ranorex snapshot (NOT screenshot) of given progress bar? Additionally, we need to see exact test and validation steps. Without, at very least, snapshot, there is not much anyone here can do or suggest. Generally speaking, and depending of your test case, you should be able to obtain the value from scroll bar using GetValue action. If you want to wait for progress bar to reach its end, you should use WaitFor action. And if you want to validate multiple values, you may need to do it in code (using loop)?