Forum Discussion

warinthira's avatar
warinthira
New Contributor
5 years ago

got an error message during run a script with excel data in TestExcute

Hi

got an error message during run a script with excel data in TestExcute

 

JavaScript runtime error.

The Microsoft Access database engine cannot open or write to the file ''. It is already opened exclusively by another user, or you need permission to view and write its data

Error location:
Unit: "DecemberPromotions\December\Script\PM_02"
Line: 3 Column: 27.

3 Replies

  • cunderw's avatar
    cunderw
    Community Hero

    Do you have the file open? Where is it located? Are you running test complete with admin rights? We need more information.

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Actually... based upon the screenshot of the error message, note that the file name is an empty string. (literally '').  So, it doesn't appear to be a problem with the driver itself but actually that somehow the filename is not being passed properly to the function that is trying to consume it.

    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      Thank you cunderw and tristaanogre for offering help. 

       

      Hi warinthira , please provide more info (see cunderw’s reply) and that should make it easier to help you out! Thanks.