Reputation: 3878
I have to do test plan for an android application. There are about 120 screens in the application and I have to check the app for several emulators. Problem is it takes too much time. I know how to take screen shots with eclipse IDE. I want to automate the process. I cant find that eclipse provide such kind of facility.I am really tired of taking screen shots one by one.
Upvotes: 3
Views: 146
Reputation: 16387
You can use Robotium
to automate going through the screens and take the screenshot with that.
Look there:
Can I take screenshots from inside of Robotium?
Yes you can. Use takeScreenshot()
to save a screenshot in "/sdcard/Robotium-Screenshots/
". Observe that this functionality requires write permission (android.permission.WRITE_EXTERNAL_STORAGE
) in the AndroidManifest.xml
of the application under test.
Upvotes: 2