[1.1.0] Linux: App.isRunning always reports false --- not yet implemented
Here is the code that I am trying to run on Linux with sikuli 1.1.0:
<code>
firefoxApp = App("firefox")
App.open("firefox")
while not firefoxApp.
print "Waiting for firefox.isRunning", firefoxApp.
wait(1)
firefoxApp.focus()
</code>
With this code, I see that it keeps on waiting for the app as firefoxApp.
If I change my code to following:
<code>
firefoxApp = App("firefox")
firefox = App.open("firefox")
while not firefox.
print "Waiting for firefox.isRunning", firefox.isRunning()
wait(1)
firefoxApp.focus()
...
...
firefoxApp.close()
</code>
it complains with message:
[error] script [ /home/divick/
[error] AttributeError ( 'NoneType' object has no attribute '__exit__' )
I have tried all sort of combinations but it has issues one way or another. The code and documentation doesn't seem to match. I would appreciate any help.
Thanks,
Divick
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Divick for more information if necessary.