← 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: Answered => Open

Melvin Raymond is still having a problem:
OK, that was interesting.  Didn't know how to do that, but now I do. I
ran the following script and it appears to have opened my app, and
closed it. However, on the test.stop_my_application(myApp) I got the
following error after running this new 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(myApp)
test.prepare_test_case(myApp)
test.stop_my_application(myApp)


ERROR WITH TRACEBACK BELOW: 

[error] script [ Raiman-test ] stopped with error in line 15
[error] java.lang.ArrayIndexOutOfBoundsException ( java.lang.ArrayIndexOutOfBoundsException: 1 )
[error] --- Traceback --- error source first
line: module ( function ) statement 
6: main ( stop_my_application ) stoppedmyapp = App.close(myApp)
[error] --- Traceback --- end --------------

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