← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #251460]: Facing problem in generating reports through HTMLTestRunner

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
?? 1.
HTMLTestRunner.py
must be in a folder Lib (might have to be created) in the folder where you have the SikuliX setup stuff and the jar files.
Otherwise you have to adjust sys.path.

?? 2.
import unittest
imports the standard Python/Jython unit test module, that is needed in the rest of the script (unittest. …)

--- Will this statement work in Sikuli IDE even if we are not using python/jython
of course only valid for python/jython scripts

?? 3.
You do not need to prepare a file, since this will be created  in the script by
outfile = open("Path of File", "w")

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