Closed GoogleCodeExporter closed 9 years ago
Thanks for reporting this. Will get back to you if I have any questions.
Original comment by renasr...@gmail.com
on 6 Mar 2013 at 5:32
I am not able to reproduce this issue. Would it be possible for you to send me
an apk that behaves this way?
Original comment by renasr...@gmail.com
on 3 Apr 2013 at 5:15
I emailed you an apk to try (resigned twitter), although this issue is the same
for all apks I tried so far.
Basically once the robotium test is built and deployed (I use mvn clean package
android:deploy):
adb install com.twitter.android.apk
adb shell am instrument -w
com.robotium.tests.twitter/android.test.InstrumentationTestRunner
This opens the app and it just stays so forever, doesn't ever click a button.
The prompt shows only:
com.robotium.tests.twitter.RobotTwitter:
My current workaround is to:
1) disable auto open: solo = new Solo(getInstrumentation()) instead of solo =
new Solo(getInstrumentation(), getActivity()).
2) start the test (which now waits for app activity to open)
3) manually launch the app activity: adb shell am start -W -n
com.twitter.android/.StartActivity
Hope this helps.
Please let me know if you need need any details.
Original comment by valentin...@gmail.com
on 3 Apr 2013 at 4:27
Attachments:
Thank you for the apk. I have tried through Eclipse and everything works well
(tried with auto open as well). I think you are experiencing a maven
configuration issue or such. Are you using the maven-android-plugin? Maybe they
know what the problem might be.
Original comment by renasr...@gmail.com
on 4 Apr 2013 at 5:25
Sorry, I should have mentioned this earlier, but I initially started and tested
with Eclipse and I get the same behavior. So I think we can rule out
maven-android-plugin.
I'm using stock/unmodified Android 2.3.4 on a Nexus S. Maybe you're using a
newer Android version where this issue is not present?
Original comment by valentin...@gmail.com
on 4 Apr 2013 at 5:46
I am able to reproduce it on the 2.3.3 emulator. I can see that it is
getActivity() that belongs to ActivityInstrumentationTestCase2 that is hanging.
The issue is not within Robotium.
Original comment by renasr...@gmail.com
on 4 Apr 2013 at 6:01
Thanks a lot for confirming this as a Android 2.3.3 issue and not a Robotium
one.
Original comment by valentin...@gmail.com
on 4 Apr 2013 at 4:57
Original issue reported on code.google.com by
valentin...@gmail.com
on 6 Mar 2013 at 5:29