How can i wait until something is done Loading. I need to wait until the application has downloaded about 10MB of data. Since i have implemented the loading into the Robotium class, i don't have the chance to check the UI for an message if it is done. The loading time takes sometimes longer, so i can't put like solo.sleep(10000)
. What other option do i have?
I tried also sleep.waitForCondition()
and sleep.waitForLogMessage
. Didn't work neither.
Aucun commentaire:
Enregistrer un commentaire