← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #249773]: Can't find the images from the xml parse

 

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

cp posted a new comment:
It appears some settings not proper, and should not be the code problem. 
As we share the same code, and it works for some other colleague.

=======
   public SearchResultPage addToWatchList(String thumbnail) throws Exception{
        SikuliUtil.waitForImage(screen, thumbnail, 10);
        try{
            screen.find(thumbnail);
        }catch(Exception e){
            ATUUtil.addStepWithDefaultBrowser("verify video thumbnail", LogAs.FAILED);
            throw new Exception("image: " + thumbnail + "  not found!!!");
        }
=======
and the error message is 
java.lang.Exception: image:  http://i.qa.lv3.maxgo.com/images/max/asset/584396/584396_637164_178x100.jpg  not found!!!

the thumbnail is not null, is '
http://i.qa.lv3.maxgo.com/images/max/asset/584396/584396_637164_178x100.jpg'.

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