sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #14681
Re: [Question #214750]: assert not exists keeps failing even though really doesn't exist
Question #214750 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/214750
Status: Open => Answered
RaiMan proposed the following answer:
I think we already talked before on these kind of "magics"
For some reason, Sikuli finds something like IDNew-2.png on the screen.
Might be a "bad" image (one, that does not represent the key visual
aspects, that would make IDNew-2.png to not be found).
The only chance to debug this:
if exists("IDNew-2.png"):
getLastMatch().highlight(3)
assert False
else:
assert True
and look, what Sikuli is finding.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.