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

How to save SikuliX Test Report file as "Filename+TimeStamp" using 
HtmlTestRunner. I want filename of report with name and timestamp. Which code 
shall I write in SikuliX script?

I have written following code but not working:
------------------------------------------------------------------------------------------------------------------------------------------------
#Gets the timestamp as an argument to the sikuli via batch and suffixes to the 
test report

datearg = ""
parms = sys.argv [1:]
print parms
for i in range (len(parms)):
       datearg = parms[i]
fp = file(os.path.join(dir, "testReport_"+datearg+".html"), "wb") #output HTML 
file
------------------------------------------------------------------------------------------------------------------------------------------------


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to