Closed GoogleCodeExporter closed 9 years ago
Original comment by renasr...@gmail.com
on 23 Oct 2013 at 10:13
any comment about modifying the status of the issue?
Original comment by yueers...@gmail.com
on 23 Oct 2013 at 10:44
I used the android-18 sdk. So this might be different from Issue 404. Please
check it.
Original comment by yueers...@gmail.com
on 23 Oct 2013 at 10:50
It can be that your app freezes the UI thread. The only thing we know for sure
is that Robotium is compatible with API level 18. With both constructors.
Original comment by renasr...@gmail.com
on 23 Oct 2013 at 11:27
How can I check that? And if so, what should I do to solve that? Thanks a lot!
Original comment by yueers...@gmail.com
on 24 Oct 2013 at 3:19
hi, I found some answers from a Robotium Developers Group. They said that
if my app has some animations on the screen, it might block the process.
Under this situation, how can I solve this problem? Thanks.
Original comment by yueers...@gmail.com
on 24 Oct 2013 at 3:53
One solution is to use the second constructor. You say that it works for you.
Original comment by renasr...@gmail.com
on 24 Oct 2013 at 5:03
The thing is how can I connect the main activity to solo object? Though I can
manually executed another command to start the activity, I want to deal with it
in my test code.
Original comment by yueers...@gmail.com
on 24 Oct 2013 at 6:15
You just call getActivity() right after the constructor. Robotium will pick it
up by it self.
Original comment by renasr...@gmail.com
on 24 Oct 2013 at 6:20
Sorry to bother you again. I tried your way to add getActivity() after the Solo
constructor. But the app still stuck on the animation page and the test won't
stop.
Original comment by yueers...@gmail.com
on 24 Oct 2013 at 6:58
In some versions of Android animations will make getActivity() hang.
Nothing can be done from Robotium. The bug is within the Android platform.
Original comment by renasr...@gmail.com
on 24 Oct 2013 at 7:00
Thanks anyway. I turned off the animiations in my app as a workaround.
Original comment by yueers...@gmail.com
on 24 Oct 2013 at 7:19
Original issue reported on code.google.com by
yueers...@gmail.com
on 23 Oct 2013 at 9:06