Hello, First of all, it's my 2nd week of Android learning (and like 5th day of development). I have a simple application that has one activity. When user opens up this application a potentially long operation may take place (up to say 5 seconds). I've decided to show a progress dialog and it works. When the operation completes it's result is saved in preferences. Now I'm writing a test for this activity and I'd like to check whether the dialog disappears and when it does whether the data saved in preferences is correct.
I have no idea how to even begin with that. I tried using Robotium with it's waitForDialogToClose but tests sometimes fail (the dialog disappears before test is even started). I tried searching google, but I had no real luck yet. Is there a way with Android test framework for that or should I just skip that test completely (which I'd rather not, this operation may be crucial for further operations of the application). -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

