Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to make changes in the script so that it can read data from csv file using csv driver

Sanjana Nalam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 6, 2021

I have referred this document and installed csv driver and gave connection to csv driver.

Resources (adaptavist.com)

Previously we have used csv files and to read the data from csv files we have used the following code.

new File("path of the csv file").splitEachLine(",") {

fields ->//fields[0]-->extracted first column from the csv file 

}

Now we want to use csv driver database to fetch the data from the csv file. I want to know how to modify the above code to fetch the columns of the csv file and what all the libraries I have to import for the csv driver.

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events