Hi it’s me again,
So, I trying now to launch my test collection from Katalon TestOps via Agent.
My test Collection include a test case using a Data File which is an excel file.
When i schedule a job the debug says that it can’t find the DataFiles.
I see that the script is looking inside the temporary agent folder, where my excel isn’t :
Cannot find test data with id 'Data Files/DF-DATA' because (of) 'java.io.FileNotFoundException: G:\Katalon_Agent\tmp\2021.06.23-15.37--9960-cKhojmS78vpa-328722\Projet_ANA\Data Files\Liasses_ANA.xlsx' %
In my test case i declare my file like this :
ExcelData data = findTestData(‘Data Files/DF-DATA’)
And the data file is configured with ‘Use Relative Path’ and ‘Bind to test case as string’ is KSE.
Where did i go wrong ? Do i have to hard-code the path ?