Save to CSV


#1

It would be nice, if we could save captured values from website to CSV file.


#2

Somehow you can apply this approach for CSV:


#3

Vinh Nguyen said:

Somehow you can apply this approach for CSV:
http://codebun.com/read-and-write-data-from-excel-in-katalon-studio/

this s for studio, how can it be applied to recorder?


#4

I could be helpfull to have it for Kalalon recorder.
thank you


#5

Yes, like csv Write in kantu


#6

Getting an error when trying to use a CSV file. This error doesn’t show when I use an excel file.

Code:
FileInputStream fis = new FileInputStream(‘C:\Users\s.long\Desktop\Katalon\Batch.csv’); //Path of the excel file to read the data
XSSFWorkbook workbook = new XSSFWorkbook(fis);

Error:
org.apache.poi.POIXMLException: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]
at org.apache.poi.util.PackageHelper.open(PackageHelper.java:41)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:204)
at yeet.run(yeet:48)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:331)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:322)
at