← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #233001]: startup problem in sikuli

 

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

Amutha Sreenivasan gave more information on the question:
sorry , the above  message was not complete.....

Where to use debug.user()
 a testA.sikuli
class UnitTestA(unittest.TestCase):
    def setUp(self):
        Debug.user()
        popup("setting things up")
    def test1(self):
        popup("running test1")
    def test2(self):
        popup("running test2")
    def test3(self):
        popup("running test3")
        .

    def tearDown(self):
        Debug.user()
        popup("tearing things down")

used as above. As soon as clicked the run button, the tool display pops
up with the message --> Exit code: 0

but without debug. user(), the script runs..

could you please clarity this...

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