How to write Sikuli messages to a logfile

Asked by Linus Holmeros

Is it possible to get all prints in the message tab from sikuli on file?

Need to logg my testing.

Thank you =)

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Run your script from command line and pipe the output to a file.

in command line window go to directory that contains your .sikuli and use

PATH-TO-SIKULI\sikuli-ide.exe -r xxxx.sikuli >mylog.txt

see docs about command line usage: http://sikuli.org/docx/faq/010-command-line.html#how-to-run-sikuli-from-command-line

Revision history for this message
Linus Holmeros (linus-holmeros) said :
#2

Command line?

Revision history for this message
Linus Holmeros (linus-holmeros) said :
#3

Command line?

Revision history for this message
RaiMan (raimund-hocke) said :
#4

Did you look into the docs behind the above link?

What system?

Windows, Mac, Linux?

Revision history for this message
Linus Holmeros (linus-holmeros) said :
#5

Win XP prof
Well I didn't look through them too much but i guess I should google command line and learn what it is.

Thanx anyway for super quick support!!

Revision history for this message
RaiMan (raimund-hocke) said :
#6

Have a look at this page http://commandwindows.com/

a bit too much ads, but not too bad.

Can you help with this problem?

Provide an answer of your own, or ask Linus Holmeros for more information if necessary.

To post a message you must log in.