cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted
New Contributor

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 3
Highlighted
Community Hero

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

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


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
Highlighted
Community Hero

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

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.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Community Manager

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

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. 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors