sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42125
[Question #610943]: Logging sikuli errors to a separate log file
New question #610943 on Sikuli:
https://answers.launchpad.net/sikuli/+question/610943
Hello everyone, I'm new to sikuli, I'm bound by the framework which has been developed on 1.0.1 sikuli and I have to find a way to export sikuli errors to a separate log file. For example on which line the test failed and where was the problem. I made a simple file writer:
file = open(logFile, 'a')
file.write(message)
file.close()
Now I would like a way to write to that log file the errors generated by sikuli. Can someone point me to the right way? I have been reading on python error and sikuli docs but I am unable to find a way.
Thank you for your support in advance.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.