[windows-7][Android] - Screenshot file is showing 0 bytes in Appium v 0.9.0

306 views
Skip to first unread message

Vincy C

unread,
Sep 18, 2013, 5:18:57 AM9/18/13
to appium-...@googlegroups.com
HI All,

 I am trying to automate my test using appium latest version with screenshot.Here i have called the screenshot method for capture the invalid data.
Appium can take the screenshot but am trying to open the screenshot file its showing empty data(0 Bytes).

But screenshot is working well in version 0.8.1 and able to view the file. Since its not work in version 0.9.0

Can anyone give feedback about this issue.


Thanks,
Vincy

Dan Cuellar

unread,
Sep 18, 2013, 10:51:53 AM9/18/13
to appium-...@googlegroups.com
@boostraponline, didn't we change the screenshot implementation on Android between those version numbers

bootstrap online

unread,
Sep 18, 2013, 11:02:59 AM9/18/13
to Dan Cuellar, appium-...@googlegroups.com
We moved from https://github.com/appium/screenshooter (slow, ddmlib
based) to http://developer.android.com/tools/help/uiautomator/UiDevice.html#takeScreenshot(java.io.File)

It looks like ddmlib works on more devices than the uiautomator
screenshot method.
> --
> http://appium.io
> ---
> You received this message because you are subscribed to the Google Groups
> "Appium-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to appium-discus...@googlegroups.com.
> Visit this group at http://groups.google.com/group/appium-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages