def doubleclick(self,target,modifiers=0):
     addFoundImage(getFilename(target)) 
     try:
         return SikuliRegion.doubleClick(self, target, modifiers)
     except FindFailed, e:            
         self.log.html_img("Find Filed", getFilename(target)) #"images/" + getFilename(target))
         self.log.screenshot(msg="Region", region=(self.getX(), self.getY(), self.getW(), self.getH()))
         raise e  
Exemple #2
0
 def doubleClick(self, target, modifiers=0):
    return JRegion.doubleClick(self, target, modifiers)