sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15672
Re: [Question #219853]: Use Python's unittest in Sikuli
Question #219853 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/219853
Status: Open => Answered
RaiMan proposed the following answer:
Sikuli only use the Python LANGUAGE and so has nothing to do with your
C-Python 2.7. The used interpreter is Jython 2.5, that comes bundled
together with Sikuli (it is a Java based Python interpreter).
So this should work without any other prereqs than Java 6 32-Bit
available on your machine and the system path set accordingly (see faq
2005).
Do normal scripts run in the IDE (some find()'s and click()'s) ?
on a commandline:
set SIKULI_HOME=%ProgramFiles(x86)%\Sikuli X\
"%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -jar %SIKULI_HOME%sikuli-script.jar -i
this should open an interactive Jython session already prepared for
Sikuli commands.
try
import unittest
and see what happens.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.