← Back to team overview

sikuli-driver team mailing list archive

[Question #239644]: hi i need a help to create a HTML Report for passed or failed bug.

 

New question #239644 on Sikuli:
https://answers.launchpad.net/sikuli/+question/239644

This is the script which one i m creating , but i get the null report. 
can anyone help me????/
please.....

dir = "C:\Users\Administrator.MSPSYS150\Downloads"
import os
fp = file(os.path.join(dir, "till123.html"), "wb")

import unittest
import HTMLTestRunner
reload(HTMLTestRunner)

Region(9,4,53,59)
doubleClick(Pattern().similar(0.30))
wait()
type(, "241281528")
type(, "126147")
click()
if exists():
    print "pass"
else:
    print "fail"

runner = HTMLTestRunner.HTMLTestRunner(stream = fp, verbosity=2, dirTestScreenshots = dir)
runner.run(suite)
fp.close()

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