← 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

    Status: Answered => Solved

Amutha Sreenivasan confirmed that the question is solved:
Hi Raiman,

          Thanks for the reply. 
What you mentioned ( about the  script format) above is correct 

# a testA.sikuli
class UnitTestA(unittest.TestCase):
    def setUp(self):
        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):
        popup("tearing things down")

Here --> test1,test2,tes3....are test steps
so, testA.sikuli is a whole testplan (so, test plan contains many steps..)

In my scenario, each test plan contains  minimum 25 test steps (here test,test2,test3....)
so,while startup the script without commenting any tests , sikuli takes 100% CPU usage

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