Testing progress bar

Ask general questions here.
ameli
Posts: 1
Joined: Wed Jan 29, 2020 3:49 pm

Testing progress bar

Post by ameli » Wed Jan 29, 2020 4:14 pm

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

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6036
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Testing progress bar

Post by odklizec » Thu Jan 30, 2020 10:50 am

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)?
Pavel Kudrys
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