def dropAt(self,target, delay=0.0): 
     addFoundImage(getFilename(target))    
     try:
         return SikuliRegion.dropAt(self,target,delay)
     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 dropAt(self, target, delay=None):
    if delay == None:
       delay = Settings.DelayBeforeDrop
    return JRegion.dropAt(self, target, delay)