sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04541
Re: [Question #167739]: To incorporate the Failed screen shots inside robot result
Question #167739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/167739
Status: Open => Answered
RaiMan proposed the following answer:
Since you are acting on the Python level, I do not understand your
approach.
def sikFind(arg):
import shutil
if not exists(Pattern("Bar Horizontal.png").similar(0.99)):
shutil.move(capture(SCREEN), r"D:\Selenium-screen.png"))
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.