sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42158
Re: [Question #614515]: Sikuli xmlrunner/htmlrunner with try catch in test cases
Question #614515 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/614515
Status: Open => Answered
RaiMan proposed the following answer:
sorry, forgot about 1.0.1.
--- my goal is to get the same message in the log.log and xmlreport file.
I guess, that is not possible in an easy way.
So I think you should setup your own myAssert function, that internally takes care for this completeness of logging information and finally uses assert to signal to unitest/xmltestrunner.
--- Which xml runner are you using ?
is not important. use the one, that satisfies your needs and works with SikuliX. To get anything to the xml file you have to use assert as already mentioned. For further features you have to consult the Python unites docs and that of the test runner of your choice.
--- Sorry for spamming ...
no need ;-)
if you think, one of your comments is obsolete or unnecessary, just use the Hide feature.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.