Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Why are a large number of my screenshots missing?

Brian Martin Jul 12, 2013 12:22AM CEST

I keep running into this, and it's extremely frustrating.

The basic problem is that, in a large number of cases, instead of a screenshot, I get a black screen for some set of devices which reads:

'Could not retrieve the screenshot from this device'.

When I have been able to get the 'Save all screenshots in one .zip file' link to work (it usually doesn't) I have been able to verify that the zipfile is missing the screenshots in question as well.

It appears to be random, in that some screenshots will show up for a device, while others will not be present.

This is not a condition I've experienced when running these automated tests in other environments besides the testdroid cloud.

I have logging before I call solo.takeScreenshot(), which is showing up in the logcat output. However, the corresponding screenshot oftentimes does not show up. While it's possible that this log statement is isused while the screenshot is actually not taken (screenshots are taken on a different thread) this seems unlikely, as many times the missing screenshots will be from the middle of a test where there are screenshots present from later in the test.

I'm running with the 'Automatic screenshots' checkbox disabled, and a 'Screenshot directory' of /sdcard/Robotium-Screenshots.

Any ideas what might be going on? This is severly impacting my ability to diagnose failures.

Up 5 rated Down
Michal Szpruta Jul 12, 2013 02:41PM CEST Bitbar Testing help Agent
Hi,

the issue about missing screenshot was caused by long names of them (length limit in database). It was already fixed and it will be released as soon as possible, probably on Monday.

Br,
MichaƂ

This question has received the maximum number of answers.

Contact Us

support@bitbar.com
http://assets0.desk.com/
false
bitbar
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete