chchgb / android-crawler

Automatically exported from code.google.com/p/android-crawler
0 stars 0 forks source link

Automation.refreshCurrentActivity() hangs when called on Activity with animation #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To reproduce the problem, crawl the Android preinstalled app "Api Demos". 
Several demos in the "Graphics" submenu reproduce the defect, i.e. 
"ColorMatrix".

The crawler will stop in ColorMatrix until the user manually presses the HOME 
button or the BACK button.

This happens because the call to Robotium function getCurrentActivity() wait 
for the UI Thread to finish, which never happens because of the animation.

Original issue reported on code.google.com by nofatclips on 20 Oct 2011 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by nofatclips on 6 Nov 2011 at 3:25