I want to automate a scenario, where csv file generated by first feature file will be the input for second file.
I have created a js function which generate test.csv , I have call this function in setup.feature and then using karate-config.js I have called
karate.callSingle('classpath:apiTest/features/setup_data.feature');
However if i am using test.csv file in my test feature file using
Examples: |read('classpath:apiTest/testData/test.csv')|
I am getting this error.
com.intuit.karate.exception.KarateException: test.feature:17 - could not find or read file: classpath:apiTest/testData/test.csv
Does anyone have any idea if this possible in karate.