katalon-studio / katalon-recorder

Apache License 2.0
315 stars 140 forks source link

Support for saving stored data into a CSV / JSON file #87

Closed shorthandguy closed 3 years ago

shorthandguy commented 3 years ago

At the moment, it's only possible to read in data from either CSV or JSON files loaded into the Data Driven tab within Katalon Automation Recorder, however, it is not yet possible to easily save any data stored within variables to an external file.

Some of Katalon Automation Recorder's main competitors have support for this functionality already (for CSV output):

This is a particularly useful feature to have for Data-Driven Testing, as it allows mass collection of sets of data and manual inspection of the results (e.g. so patterns can be identified, anomalies can be quickly discovered, etc.. plus it reduces the time required to build a script that can deliver information, without needing to first build conditional statements, assertions, etc in order to get value).

Some people have built runScripts previously to perform this kind of thing with Selenium IDE, but obviously this is not as clean or as easily maintainable as using built-in functions.

Likewise, someone proposed the following solution on the KAR forum, however, this is a 'hackier' approach than using a built-in function too - https://forum.katalon.com/t/save-web-text-data-in-a-csv-file/35807/2

minhthanh3145 commented 3 years ago

Thank you for your suggestion, it's already on our roadmap and I will inform you when there's new information.

minhthanh3145 commented 3 years ago

@shorthandguy

This is partially available through appendToCSV, we'll apply it for JSON later. For now, I'll close this issue.