How to wait progress bar to finish with no timeout?

Ask general questions here.
limorvs
Posts: 1
Joined: Tue Mar 03, 2015 7:36 am

How to wait progress bar to finish with no timeout?

Post by limorvs » Wed Mar 11, 2015 9:56 am

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)

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

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

Post by krstcs » Thu Mar 12, 2015 3:01 pm

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.
Shortcuts usually aren't...