Hello, I’m working on using bitbucket and docker to schedule and launch automated tests.
When I do it on my machine :
2020-08-21 08:51:36.716 INFO c.k.katalon.core.main.TestSuiteExecutor - os = Linux 64bit
2020-08-21 08:51:36.721 INFO c.k.katalon.core.main.TestSuiteExecutor - hostAddress = ******
2020-08-21 08:51:36.726 INFO c.k.katalon.core.main.TestSuiteExecutor - katalonVersion = 7.6.2.205
2020-08-21 08:51:45.468 INFO k.k.c.m.CustomKeywordDelegatingMetaClass - simple.WriteExcel.setupDataFile is PASSED`
And when I do it with the docker on the bitbucket :
2020-08-21 08:26:08.072 INFO c.k.katalon.core.main.TestSuiteExecutor - os = Linux
2020-08-21 08:26:08.072 INFO c.k.katalon.core.main.TestSuiteExecutor - hostAddress = *******
2020-08-21 08:26:08.073 INFO c.k.katalon.core.main.TestSuiteExecutor - katalonVersion = 7.6.2.
2020-08-21 08:26:08.862 ERROR k.k.c.m.CustomKeywordDelegatingMetaClass - ? java.io.FileNotFoundException: .\Data Files\auto_data.xlsx (No such file or
2020-08-21 08:26:08.866 ERROR c.k.katalon.core.main.TestSuiteExecutor - ? java.io.FileNotFoundException: .\Data Files\auto_data.xlsx (No such file or directory)`
So I’m wondering what are the difference that could make them have different behaviour?
What is executed is the setUp for test suite : it take the data file “auto_data.xlsx” and create a “auto_data_output.xlsx”
Okay so I searched more and this is what I found :
On my machine:
08:51:28.112 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Reading excel file with source file '/tmp/session-*/Data Files/auto_data.xlsx' and sheet name 'Payment'
On bitbucket :
08:26:05.953 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Reading excel file with source file '/tmp/katalon_execute/project/Data Files/auto_data.xlsx' and sheet name 'Payment'`