← Back to team overview

sikuli-driver team mailing list archive

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.