New question #694798 on Sikuli:
https://answers.launchpad.net/sikuli/+question/694798
When I run my code, it produces the HTML code in the console and generates a
report file but the report file is blank.
Here is the code I'm running:
from HTMLTestRunner import HTMLTestRunner
Debug.on(0);
class Test(unittest.TestCase):
def setUp(self):
utils.openApplication("Appname")
Debug.info('Setup Called')
def test_isupper(self):
self.assertTrue('FOO'.isupper())
self.assertFalse('Foo'.isupper())
if __name__ == '__main__':
loader = unittest.TestLoader()
suite = unittest.TestSuite((loader.loadTestsFromTestCase(Test)))
outfile = file("Report.html", "w")
runner = HTMLTestRunner()
runner.run(suite)
I'm using Sikuli IDE 1.1.3, I tried using 2.0.4 but its not running there
--
You received this question notification because your team Sikuli Drivers
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