xiaofans / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

takescreenshot() not working for me #430

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
T'm trying to use takescreenshot method but no luck.
Can you provide a nice example?

Original issue reported on code.google.com by n.navjot...@gmail.com on 8 Apr 2013 at 4:11

GoogleCodeExporter commented 9 years ago
Please see the javadoc:

Takes a screenshot and saves it with the specified name in 
"/sdcard/Robotium-Screenshots/". Requires write permission 
(android.permission.WRITE_EXTERNAL_STORAGE) in AndroidManifest.xml of the 
application under test.

Original comment by renasr...@gmail.com on 8 Apr 2013 at 4:23

GoogleCodeExporter commented 9 years ago
I meet the similar issue. can't not capture image by call 
solo.takeScreenshots() when testing alarm. but i can capture image successfully 
by the same way on Settings. 

Original comment by liujia20...@sina.com on 30 Dec 2013 at 6:02