sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41623
Re: [Question #176005]: [HowTo] Nice unit test runner with html output
Question #176005 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/176005
kavitha posted a new comment:
Hi Raiman,
I have run the following scripts in sikuli but I have found all the
parameters as '0' in the generated report.
from sikuli import *
import unittest
import HTMLTestRunner
class TestReport(unittest.TestCase):
click("1486657432621.png")
wait(2)
type("calculator")
wait(1)
type(Key.ENTER)
wait(1)
click("1487677101662.png")
wait(0.5)
click("1487677117547.png")
wait(0.5)
click("1487677137680.png")
wait(0.5)
click("1487677146827.png")
wait(2)
suite = unittest.TestLoader().loadTestsFromTestCase(TestReport)
outfile = open("C:\\Htmltestreport\\report.html", "w")
runner = HTMLTestRunner.HTMLTestRunner(stream=outfile, title=' Report Title', description='desc..' )
runner.run(suite)
outfile.close()
Kindly help me finding the solution.
Thanks,
Kavitha
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.