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

Sonali posted a new comment:
Thanks Raiman.

I am right now in the learning phase and still learning and understanding 
python+Sikuli.
Also I had another basic question. How will it work in case I have one unit 
test class in which multiple test cases(functions) are present and I want all 
of the test cases(functions) to be executed even though some functions end up 
in error.

class TestDemo(unittest.TestCase):

        def functiontest1(self):
        ....
        
        def functiontest2(self):
        ....
        
        def functiontest3(self):
        ....

suite = unittest.TestLoader().loadTestsFromTestCase(TestDemo)
outfile = open("..\\results.html", "w")
runner = HTMLTestRunner.HTMLTestRunner(stream=outfile, title='Test Report', 
description='Test Flows' )
runner.run(suite)
outfile.close()

-- 
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

Reply via email to