log(lvl, "testSetup: Finder setup with image %s", (!success ? "did not work" : "worked")); if (success &= f.hasNext()) { success = (null != f.find(img.asFile())); log(lvl, "testSetup: Finder setup with image file %s", (!success ? "did not work" : "worked")); success &= f.hasNext(); String screenFind = "Screen.find(imagefile)"; try { ((Screen) r.getScreen()).find(img.asFile()); log(lvl, "testSetup: %s worked", screenFind); screenFind = "repeated Screen.find(imagefile)"; ((Screen) r.getScreen()).find(img.asFile()); log(lvl, "testSetup: %s worked", screenFind); } catch (Exception ex) {