← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #269202]: Region: doFind: Image not loadable: wechat_icon.png

 

Question #269202 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269202

    Status: Open => Answered

RaiMan proposed the following answer:
I understand, that you have

-- F:/test/Wechat_automation/hs/Wechat/Wechat.sikuli
    -- folder images
        wechat_icon.png

You seem to use addImagePath("images")

... but you have to give an absolute path

addImagePath(os.path.join(getBundlePath(), "images"))

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.