ashkht
8 years agoContributor
Failing to create directory from tear down script at Test Suite Level
Hello, I am trying to generate HTML Report as part of Reporting for SOAP UI Automation. I have tried below piece of code at TestSuite Level in order to get some report. Now during this course, i ...
- 8 years ago
Hi Natalie,
Thanks for your response!
The SoapUIResults has been created manually and hence included as a string in file creation step.
I have troubleshooted myself and found that it was due to format of Timestamp value. I was saving Timestamp as "YYYY-mm-dd HH:mm:ss" and mkdir() command doesn't support character ":" in windows. Later i have changed format as below and was able to make directory and it worked !!
Timestamp now saved as "YYYY-mm-dd HH-mm-ss".
Thank you again!
Thanks,
Ashish