sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #00252
[Question #140934]: Unable to verify that a region is blank(has nothing on it)
New question #140934 on Sikuli:
https://answers.launchpad.net/sikuli/+question/140934
I want to verify a blank area with the blank baseline screen shot that i took to find/match.
so my code is something like
if exists(Pattern("blank.png").exact()):
print "pass"
else:
print "fail"
Issue is that Whether the area is blank or not - in both cases it returns pass.
Even if i have something in that area - and i do a screen match preview - it shows it all red - at 100% also - means it matches the contents of the area with the blank screen shot image.
Is there a way to verify that ?
(Using Sikuli X on XP)
Thanks
Anshu
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.