mosil / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

Can we have a function t "wait for progress bar to disappear" - something like waitForView #518

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. We develop a finance app which shows spinning progress bar[similar to 
loading] before it displays calc  Numbers
2. We have a customized function to see if the progress bar view is gone .. so 
that we can check for accuracy of number.
3. Just thought if it makes sense to have a separate API

What is the expected output? What do you see instead?
return "true" as and when the Progress bar is gone

What version of the product are you using? On what operating system?
4.2.2 on Mac

Please provide any additional information below.

Original issue reported on code.google.com by ramda...@gmail.com on 10 Sep 2013 at 10:43

GoogleCodeExporter commented 9 years ago
Thanks for sharing your ideas. Right now we don't feel the need to add a method 
like that. What you can do is use methods like: waitForDialogToClose, 
waitForView(calc.R.id) etc. Those should work for your use case.

Original comment by renasr...@gmail.com on 10 Sep 2013 at 11:55

GoogleCodeExporter commented 9 years ago
Thanks for reviewing it!
We do have a work around for it :)

Original comment by ramda...@gmail.com on 10 Sep 2013 at 2:08