[request] want the option to specify a FindFailed handler, that is called on FindFailed

Bug #1289299 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Medium
RaiMan

Bug Description

Hi,

This is more of a feature request (unless a way exists to closely mimick this).

It would be nice to be able to specify a user defined handler as the action in case Sikuli fails to find an image. When we setup a set of tests to run on a periodic basis, I would imagine that many users would want to capture a screenshot of the application window on a failure. If we could specify a screen grabbing function as the action to be taken on a failure, that would save some typing with each test to invoke it explicitly as part of the exception handling code.

Thanks.

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.2.0
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.