← Back to team overview

sikuli-driver team mailing list archive

[Question #245128]: [sikuli-java] Setting up a user-defined action on find failure

 

New question #245128 on Sikuli:
https://answers.launchpad.net/sikuli/+question/245128

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.



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