Can't continue the script if launched App is not closed(Linux64,sikuli0.10.2)

Asked by Brian Li

Steps:
1) Run following script in sikuli0.10.2 (installed on Linux64)
openApp("/usr/bin/firefox")
type("Hello")

Actual Result:
Firebox can be launched successfully,but the second line script [type("Hello")] can't be executed unless I close the Firefox manually. If I don't close the Firefox manually, the scipt can't go on to run and just hangs up there.

Note:
I tried on sikuli0.10.2 on windows xp, no such kind of issue.

Did anyone run into this issue before? Any help will be appreciated! Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Brian Li
Solved:
Last query:
Last reply:
Revision history for this message
Alexander van der Berg (1uf-alexander-sd4) said :
#1

You could try using http://sikuli.org/docx/globals.html#App.open

openApp() should be considered as deprecated, see http://sikuli.org/docx/globals.html#controlling-applications-and-their-windows

Or maybe it works in the continuous built: http://sikuli.org/download.shtml

Revision history for this message
Brian Li (hello-lrw) said :
#2

Ok, I will move to use the Sikuli X version.

I suspect the reason of causing my issue maybe due to I manually created/replaced libtiff.so.4,libstdc++.so.6 etc to make sikuli work.

Thank you very much for the information!