sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04331
[Question #166807]: problem writing results to a file
New question #166807 on Sikuli:
https://answers.launchpad.net/sikuli/+question/166807
Hello,
I am having a problem writing test results to a file in a Sikuli script.
...
sts = wait(...)
fp = open("c:Test_results.txt","w")
if sts.getScore() < 0.5 :
fp.write('Test 1 Failed')
else:
fp.write('Test 1 Passed')
fp.closed
This fails on oening the file with IOError: (13, 'EACCES', 'c:Test_results.txt')
sts is the match result.
I'm running Windows 7 32 bit as administrator.
Any ideas?
Regards,
Mike
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.