Hi guys,
Me also trying this getting same error/exception “java.io.FileNotFoundException:” and also object is not accepting method getRowNumbers().
Hi guys,
Me also trying this getting same error/exception “java.io.FileNotFoundException:” and also object is not accepting method getRowNumbers().
I’ve same issue …please help!!
I’ve stored a data from website in a variable which i want to write in a CSV(in my local) using Katalon Studio . Can somebody please provide me the code as this functionality is new for me.
Thanks in Advance !!
Please refer to this plugin:
https://store.katalon.com/product/34/Excel-Keywords
And the repository where samples are available:
Thanks for the quick help …I’m able to write the data in excel .
but facing issue while writing the data in CSV …Can you please help me in getting the solution for this ?
In my keyword, I used opencsv. One thing I had to do was read in the complete CSV, do my CRUD, then write it all back out.
def csvc = new File(targetCSV).readLines()findAll({x -> !x.isEmpty()})
def foundKey = false
csvc.findAll{it.startsWith(key + ',')}.each {
foundKey = true
def strindex = csvc.indexOf(it)
//change the testdata
csvc[strindex] = key + "," + keyValue
}
if (!foundKey){
//New key, add to file with correct execution profile
csvc[csvc.size()] = key + "," + keyValue
}
def newFile = new File(targetCSV)
PrintWriter printWriter = new PrintWriter(newFile)
csvc.each
{ printWriter.println(it) }
printWriter.close()
Hi @Arnel how to unzip and read CSV file and get the data from the cell, Could you please help me regarding this.
Create an Excel Test Data
Select File > New > Test Data from the main menu. The New Test Data dialog is displayed. Enter the name for your test data and select Data Type as Excel File. Click OK.
Browse to the Excel file that you want to import into Katalon Studio.
Data from the selected Excel file is populated into the preview section below.
Save the Test Data when you finish. The data set defined here can be utilized in other configurations. For example, you can use it to input data for keywords in Manual View or data for Test Execution when setting up test suites.
Hello guys,
can i have some help ?
I have import an excel with user emails and passwords.
When i run the test alone it stops on the email input and does not move on.
When i run the whole test suite, the same issue appears again.
Any ideas?