test execute OK in IDE but gives error in commandline
I'm trying to launch a simple sikuli unit test in command line.
I wrote a simple unit test in sikuli IDE. It executes fine in the "unit test" view of the IDE. But when I try to execute the same scipt in commandline it gives me errors.
I launch the script with the following command :
Sikuli-IDE.bat -t TESTS\testIE.sikuli
And the error I get is:
Time: 5,031
There was 1 error:
1) test_affichage_
Line 29, in file <string>
at org.sikuli.
...
The application is open and the image is visible, I don't understand why the image is not found when I launch the script in commandeline?
Any Ideas ?
My script is the following
def setUp(self):
openApp(
wait(2)
def tearDown(self):
closeApp(
def test_affichage_
click(
assert (exists(
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- 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 piravel for more information if necessary.