← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #174821]: How to add log statement into the log files generated via command line

 

Question #174821 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/174821

    Status: Open => Answered

RaiMan proposed the following answer:
use 
print "some message"

before the script ends, you have to somehow evaluate, wether test passed
or failed and use e.g.

if test_passed:
     print "passed"
else:
     print "failed"


e.g. checking for the existence of an image:

if exists("some-image.png"):
...

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