Forum Discussion

koen_able's avatar
koen_able
Occasional Contributor
5 years ago

Error occurs when running DataSource

When I try to run a DataSource I receive the following error: An error occured: C:\..\ep-test-automation\resources\test_data\banksparen-chain\qanda.banksparen-chain.xlsx (The system cannot find the p...
  • bktientu's avatar
    5 years ago

    Hi koen_able,

     

    In my opinion, perhaps you are using relative path and the path is incorrect.

     

    There are 2 options:

    1. Hard "your path file" by clicking browse in data source step and relocate your data file.

    Full path like this: "C:\software-vm3\ep-test-automation\resources\test_data\banksparen-chain\qanda.banksparen-chain.xlsx"

     

    2. Relative path like this: "${projectDir}\ep-test-automation\resources\test_data\banksparen-chain\qanda.banksparen-chain.xlsx"

     

    Hope this help.