mosil / robotium

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

solo.takescreenshot didn't work #563

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.set a alarm till it runs 
2.the "hierarchyviewer.bat" showed every id and i want an assertion if i can 
find the id is not empty,i'm gone take a screenshot 
3.

What is the expected output? What do you see instead?
i want take a screenshot by use the code "solo.takeScreenshot("XXX");"
but the truth is it doesn't work , the screenshot can'b taken 

What version of the product are you using? On what operating system?
Robotium 4.3

Please provide any additional information below.
1. i gave permission to the file "AndroidMainfest.xml"
2. the results showed nothing wrong but without take a  screenshot
3. i have insert SD card 
4. if i use "solo.waitForText(text);solo.takeScreenshot("XXXX");" No matter 
what assertion i wrote it would take screenshots.  
5. i'm so happy if you can help me .

Original issue reported on code.google.com by hotdog6...@gmail.com on 12 Dec 2013 at 2:23

GoogleCodeExporter commented 9 years ago
The permission must be added to the AUT. If it fails you can see the error 
message in the log (adb logcat).

Original comment by renasr...@gmail.com on 12 Dec 2013 at 1:56

GoogleCodeExporter commented 9 years ago
i'm sorry what is AUT ? Can you tell me or where can i find the information ?  
thanks

Original comment by hotdog6...@gmail.com on 13 Dec 2013 at 2:31