Hi,

I am writing tests using the Android test framework
"ActivityInstrumentationTestCase2". In this after launching an
activity I want to wait till it gets fully launched and then proceed.

I tried these but none of them work.
1. getInstrumentation().waitForIdleSync();
2. while (!getActivity().isFinishing())
          Thread.sleep(100);


As a result my test code and the application under test are not in
sync.

Thanks
Yasser
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to