Page 1 of 1

How to wait progress bar to finish with no timeout?

Posted: Wed Mar 11, 2015 9:56 am
by limorvs
Hi,

I have a test case that copies 8gb.bin file to \\pc2gb\share using regular windows explorer window (copy & paste),
then I have progress bar... currently I am using delay for extra time, but this is no efficient, is there a way to wait till explorer progress bar to finish without specifying the time to wait?
BTW, 8gb.bin is just an example it can be 10000 files and so on to upload or download...
I am just Ranorex beginner :roll: , so I will appreciate if you can explain me the exact steps.

Thank you :P
Appreciate your help 8)

Re: How to wait progress bar to finish with no timeout?

Posted: Thu Mar 12, 2015 3:01 pm
by krstcs
One thing you could do is Spy out an object that exists or is visible/enabled ONLY once the transfer is complete and then wait for that element to exist or whatever. You can use attributes in the XPath to ensure that Ranorex only finds the element under the given circumstances.