Forum Discussion

SumitM's avatar
SumitM
Occasional Contributor
6 years ago

Create CSV file from DataSink (subreport type) using Groovy script

Hi,

We want to create CSV file using Groovy script from DatSink Subreport data.

DataSInk's subreport has some data as shown below..

 

Now, we want to create CSV file form this Subreport after testcase execution is done using teardown groovy script. We do not wish to change DataSink report type to something else, i.e Excel or file. We want to use subreport datasink type and export it to CSV.

 

Thanks