Re: [Sikuli-driver] [Question #289930]: Can't open JAR file

2016-04-05 Thread Irene
Question #289930 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/289930 Status: Answered => Solved Irene confirmed that the question is solved: Thanks Karl, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer co

Re: [Sikuli-driver] [Question #289930]: Can't open JAR file

2016-04-04 Thread Karl
Question #289930 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/289930 Status: Open => Answered Karl proposed the following answer: You can use subprocess.Popen(['java', '-jar', 'c:\\Program Files (x86)\\Tabulka.jar']) -- You received this question notification because yo

Re: [Sikuli-driver] [Question #289930]: Can't open JAR file

2016-04-04 Thread Karl
Question #289930 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/289930 Karl posted a new comment: >From https://docs.python.org/2.7/library/subprocess.html#subprocess.call: "***Wait for command to complete***, then return the returncode attribute." -- You received this questio

Re: [Sikuli-driver] [Question #289930]: Can't open JAR file

2016-04-04 Thread Irene
Question #289930 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/289930 Status: Answered => Open Irene is still having a problem: Thank you, it works finally. When I start application this way, why code (which is next in Sikuli) does not work? Application under test is laun

Re: [Sikuli-driver] [Question #289930]: Can't open JAR file

2016-04-04 Thread Irene
Question #289930 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/289930 Irene posted a new comment: Thank you, it works finally. When I start application this way, why code (which is next in Sikuli) does not work? Application under test is launched, but test suite does not run.

Re: [Sikuli-driver] [Question #289930]: Can't open JAR file

2016-04-04 Thread RaiMan
Question #289930 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/289930 Status: Open => Answered RaiMan proposed the following answer: your problem surely is, that you have your jar file in the folder c:\Program Files (x86) which contains blanks, that have to be quoted. T

[Sikuli-driver] [Question #289930]: Can't open JAR file

2016-04-04 Thread Irene
New question #289930 on Sikuli: https://answers.launchpad.net/sikuli/+question/289930 Hi, I try to open JAR file in Sikuli. I tried: openApp("java -jar c:\\Program Files (x86)\\Tabulka.jar") and solution from Stack Overflow: load("c:\\Program Files (x86)\\Tabulka.jar") import subprocess subprocess