← Back to team overview

sikuli-driver team mailing list archive

[Question #187671]: Redirecting Log and Stdout

 

New question #187671 on Sikuli:
https://answers.launchpad.net/sikuli/+question/187671

I'm pretty new with Sikuli and I've been perusing the documentation and already asked questions but I just can't find a clear cut answer to this.

When making a test in the IDE specifically using functions such as click, doubleClick, etc. you get a [Log] (coords) in the output.  Is there a way to duplicate this output into a text file?  That is to say, redirecting Stdout from the script itself.  I've redirected stdout from a different application before, but in this instance I want to do it from within the Sikuli script itself.

Also, if this does happen and say I print() something to the console on top of the [Log] elements Sikuli seems to generate automatically, would this be sent to the same file?  Or would I need to also write to the file on top of the print statement.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.