Need to generate new output xls file with time stamp for each run
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2016
10:24 AM
11-26-2016
10:24 AM
Need to generate new output xls file with time stamp for each run
Hi ,
Use case: Output results should not override into output xls sheet for every run and should create new output xls sheet with time stamp for every run.
Can anyone have Groovy script for this use case. Please help it.
Thanks.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2016
01:08 AM
11-28-2016
01:08 AM
Hi Saprao,
It looks like you are talking about the Excel file you use in DataSink, right? In this case, you can create a project property and set some unique value to it after each test run, for example the date/time. Use this property to specify the path to your output file, like:
E:/file${#TestSuite#test}.xlsx
test is the name of my property.
Is this what you are looking for?
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
