← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680261]: Display expected image when test fails in HTML test report --- not a feature

 

Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261

RaiMan posted a new comment:
The above mentioned code has to be somewhere in your script code where
it is executed before the first Region object is defined.

In the handler store the filename/path of the failing image in some
global variable, that is accessible in the HTMLReport module as well or
in some text file.

Then in the FindFailed case at the appropriate place in the HTMLReport
module evaluate and use this information.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.