comparing sceenshot

75 views
Skip to first unread message

androidnewbie

unread,
Jul 19, 2012, 1:51:28 PM7/19/12
to calabash...@googlegroups.com
Is there already a way to compare screenshots in calabash-android?

Jonas Maturana Larsen

unread,
Jul 21, 2012, 3:55:53 PM7/21/12
to calabash...@googlegroups.com
No, not currently.

It is something we are thinking about but not sure how to do right.
Do you have any input?

Tester

unread,
Feb 25, 2015, 2:02:34 PM2/25/15
to calabash...@googlegroups.com
Sorry to bump this, but does anyone know if this has been addressed already?

Morten Gregersen

unread,
Feb 26, 2015, 2:25:52 AM2/26/15
to calabash...@googlegroups.com
I don't think calabash-android supports this yet. I have made my own report where I compare screenshots from two runs with Imagick. Imagick supports comparing images and marks the differences.

Sher Bhachu

unread,
Feb 26, 2015, 3:54:18 AM2/26/15
to calabash...@googlegroups.com
I do what Mortgen has mentioned. There are a few ways on how you can increase performance however, as when you take the screenshot, the images are quite big.

1. after taking the screenshot, resize the images to say 50% prior to compare
2. compare the images using a checksum or something ... this is perfect if you just want to know if the images are supposed to be an exact match.

Tester

unread,
Feb 26, 2015, 8:34:04 AM2/26/15
to calabash...@googlegroups.com
Thanks a lot for your answers!
Reply all
Reply to author
Forward
0 new messages