Running sikuli from command line, with xmlrunner
Hi,
I’m unable to start a sikuli script from command line when I use xmlrunner, due to:
[error] ImportError ( No module named xmlrunner )
Scrip completes when using the IDE. Also, I can run the script from the command line just fine if I use the default TextTestRunner.
Full output:
PS C:\sikuli> C:\Sikuli\
+++ running this Java
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.
[error] script [ C:\Sikuli\
[error] ImportError ( No module named xmlrunner )
My code:
import unittest
from xmlrunner import *
class StarscopeSikuli
@classmethod
def setUpClass(cls):
... test cases removed ...
demo_suite = unittest.
XMLTestRunner(
xmlrunner is currently located in the same folder as the sikuli script, i.e. C:\Sikuli\
I copied xmlrunner to C:\Sikuli\, as well as Lib and sikulixlibs fodders in AppData, but no luck. Any help would be greatly appreciated. Thanks.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sasa
- Solved:
- Last query:
- Last reply: