Hi i am trying compare images with help of AndroidViewClient 5.1.1 following is the code which i have written, but always it is printing Both images are not same. Is this the correct way of using sameAs function? if not could you please let me know the correct way of using it.
from PIL import Image
image1=('Smell.jpg')
image2=('Smell1.jpg')
if sameAs(image1, image2, percent=1.0):
print "Both Images are same"
else:
print"Both images are not same"
While using monkeyRunner we use to load image.. do we have to load in new version as well.