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
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
Asheru posted a new comment:
Thanks for info.
I will give it a try. So basically I can add this anywhere but I have to
call it in the file that handles the HTMLReport, right?
--
You received this question
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
RaiMan posted a new comment:
--- UPDATE
event.setResponse(FindFailedResponse.ABORT) # finally abort
in the handler is not needed, since ABORT is the default response if
nothing else is set in the
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
RaiMan posted a new comment:
as mentioned:
add some support feature to your script code that stores the information in a
way you can access it then in the HTMLReport modul.
the base is the FindFailed
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
Asheru posted a new comment:
No problem.
I can't figure out exactly inside the HtmlReport module how can I get
the image that is not found. From here I can do it but I can't figure
out this.
--
You
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
RaiMan posted a new comment:
Modifying the FindFailed class does not help.
You have to add some Python code to the HTMLReport module.
I am sorry, but this currently is not one of my priorities.
--
You
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
Asheru posted a new comment:
Hello,
Coming back to this. So there is no possibility to link the image that
was not found in the report besides modifying the FindFailed.class at
the Java level? No other
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
Summary changed to:
Display expected image when test fails in HTML test report --- not a feature
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
Status: Answered => Solved
RaiMan changed the question status:
solution has to be implemented by user
--
You received this question notification because your team Sikuli Drivers
is an answer contact
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
Asheru posted a new comment:
I see. The thing is that I already have a customized framework already
and a pretty straight (not flexbile) architecture for my scripts. I was
thinking that maybe there is
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
RaiMan proposed the following answer:
Uuups, I thought, that you had already solved that (by some wrapper around the
findop or the findFailedHandler faeture) .
In normal SikuliX, there is no feature like
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
Asheru posted a new comment:
One question though, how do I get the image that was not found? I mean
from where do I get the current Findfailed image for example?
--
You received this question notification
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
Asheru posted a new comment:
Yeah, i;m using a custom HTMLTestRunner.
Thanks for the answer, so it is possible. At least I know that investing
time in it will produce the desired result.
--
You received
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261
Status: Open => Answered
RaiMan proposed the following answer:
apparently you are already using your own version of the HTMLTestRunner.
You have to track down in its code to the place, where the log
New question #680261 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680261
Hello,
Right now in case of a test failure we show the screenshot in the HtmlTest
report. Here is a snippet for this:
runner = HagerHtmlTestRunner.HagerHtmlTestRunner(
stream=output,
15 matches
Mail list logo