Forum Discussion

emile's avatar
emile
Occasional Contributor
9 years ago

DataSink outfile with date or number

Hi there, i'd like to add the date or a number in my Out File xls file, is there a way like this "result/outfile[Date].xls" ... Thx a lot, Emile
  • TanyaYatskovska's avatar
    9 years ago

    Hi Emile,

     

    From my understanding the following will work:

    1. You need to create a custom property and assign a value to it. You can do this from script or in a different way.
    2. In the DataSink you can specify this property in the path to your file: 

    result/outfile${#<TestSuiteName>#<PropertyName>}.xlsx