I'm using the Espresso-framework for my Android testing and additionally I'm using the Testdroid-Cloud for automatic testing on real devices.
Does anybody know, how to tell Espresso to make a screenshot, which is shown on the Testdroid Dashboard?
If I disable Espresso, the Testdroid crawler automatically make screenshots. By uing the Espresso-framework it doesn't! See screenshot:

as I know
Testdroid Crawleris an instrumentation testing tool similar to Google'smonkey UI/Application Exerciserbased onAppiumtesting framework.You're wrong. All necessary system permissions are provided by
adb(Android Debug Bridge) orappiumscript at app runtime. Notice, that you don't seeCrawlerimplementation, just the results.Here'a a quick tutorial how to do it using your own custom Espresso method: http://testdroid.com/tech/tips-and-tricks-taking-screenshots-with-espresso-or-espresso-v2-0
Remember of adding this line to
AndroidMainfest.xml:Another possibility is to use
Spoonalong withEspresso. The test would looks like then:Please check official
Spoonsite: http://square.github.io/spoon/and this article: http://elekslabs.com/2014/05/creating-test-reports-for-android-with-spoon-and-emma.html
Hope it will help