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

    Status: Open => Answered

nupur proposed the following answer:
first of all, download HTMLTestRunner.py file and placed it in your
Sikuli script folder.

--script--

from sikuli import *
import unittest
import HTMLTestRunner

Class ClassName(unittest.TestCase):
# paste your script

suite = unittest.TestLoader().loadTestsFromTestCase(ClassName)
outfile = open("C:\\Sikuli\\Reports\\report.html", "w")    # path to report 
folder
runner = HTMLTestRunner.HTMLTestRunner(stream=outfile, title=' Report Title', 
description='desc..' )
runner.run(suite)

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to