You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2018. It is now read-only.
I am downloaded sikulix 1.1.1 on ubuntu 16.04, openJDK8 (I traied also Oracle java 8) and with some example scripts it seems work.
Strange things appened when I used the methods window(), getWindow(), hasWindow(), isRunning... of the App class. I tried the below code:
`
myapp = App.open('gedit')
wait(5)
print myapp.getName()
print myapp.getPID()
print myapp.getWindow()
print myapp.hasWindow()
print myapp.window()
print myapp.isRunning() The script opens the window with gedit correctly but prints the below output:
[debug] App.immediate: gedit
[debug] App.create: [-1:gedit]
[debug] App.open [12630:gedit]
gedit
12630
False
None
False
`
Some methods does not return what I expect:
getWindow() returns a empty line
hasWindow() returns False instead of True
window() returns None
isRunning() retunrs False instead of True
Could someone give me an explaination about?
Am I using the api in a wrong way?
Thanks
The text was updated successfully, but these errors were encountered:
Explanation: all these features are not yet implemented for Linux.
So this is simply a bug ;-)
RaiMan
changed the title
Unexpected values for window(), getWindow(), hasWindow(), isRunning()
Not yet implemented on Linux: window(), getWindow(), hasWindow(), isRunning()
Sep 14, 2017
I am downloaded sikulix 1.1.1 on ubuntu 16.04, openJDK8 (I traied also Oracle java 8) and with some example scripts it seems work.
Strange things appened when I used the methods window(), getWindow(), hasWindow(), isRunning... of the App class. I tried the below code:
`
myapp = App.open('gedit')
wait(5)
print myapp.getName()
print myapp.getPID()
print myapp.getWindow()
print myapp.hasWindow()
print myapp.window()
print myapp.isRunning()
The script opens the window with gedit correctly but prints the below output:
[debug] App.immediate: gedit
[debug] App.create: [-1:gedit]
[debug] App.open [12630:gedit]
gedit
12630
False
None
False
`
Some methods does not return what I expect:
Could someone give me an explaination about?
Am I using the api in a wrong way?
Thanks
The text was updated successfully, but these errors were encountered: