sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #43800
Re: [Question #657828]: SikuliX test report name with Timestamp
Question #657828 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657828
Status: Open => Answered
dinev proposed the following answer:
import datetime
timeStamp = datetime.datetime.now().strftime("%m%d%H%M%S")
fp = file(os.path.join(dir, "testReport_" + timeStamp +".html"), "wb")
#output HTML file
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.