← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #679122]: SikuliXIDE; Mojave; Robot Framework: ArrayIndexOutOfBoundsException: 1

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
You should test your

class GA4(object):

outside RFW in an extra script:

class GA4(object):
  def prepare_my_application(self, myApp):
    startedmyapp = App.open(myApp)

  def stop_my_application(self, myApp):
    stoppedmyapp = App.close(myApp)

  def prepare_test_case(self, myApp):
    wait(2)

test = GA4()
myApp = "/Applications/GraphicalAnalysis.app"
test.prepare_my_application(self, myApp)
...

to get a regular exception with a stack trace

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.