sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51677
Re: [Question #680813]: [1.1.4] someApp.open(time): Array index out of bounds exception
Question #680813 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680813
Status: Open => Needs information
RaiMan requested more information:
what system?
Is 'myApp' the application name? Where is it located?
I just realised, that the docs are not updated yet to the latest implementation details, sorry.
(myApp.open() returns True or False)
the code should look like this:
myApp = App('myApp')
if myApp.open(10):
myApp.window().highlight(2)
myApp.close()
else:
print myApp, "did not open"
... but this should reveal the same exception
BTW: logging does not reveal any helpful information here, because the
system specific implementation of the App features does not log anything
(this is the reason for the extra log switch in App class).
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.