Ask a Question

Data driven testing :- Jscript runtime error unexpected error from external database driver(1)

DarkShadows
Contributor

Data driven testing :- Jscript runtime error unexpected error from external database driver(1)

Hello All,

Recently Test completed had received new update as usual and what we observe that we lost the data driven connectivity with both .xls and .xlsx file extension , application throwing j script run-time error popup on screen. as results we can not perform data driver testing at presently on test complete tool,

 

Error details

 

Jscript runtime error .

Unexpected error from external database driver(1)

 

 

Code sample

Function DDT()

{

var Driver;

  // Driver = DDT.ExcelDriver("C:\\MyFile.xlsx", "Sheet1", true);

Driver = DDT.ExcelDriver("C:\\TestData.xls", "Data1"); 

}

 

any workaround please? 

 

Thanks

Amit

3 REPLIES 3
tristaanogre
Community Hero

Re: Data driven testing :- Jscript runtime error unexpected error from external database driver(1)

This is a known problem with a recent Windows update having to do with Excel drivers.  I believe this has been fixed in a TestComplete version 12.41 which is available for download.  Contact support and see if this is the case.


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
DarkShadows
Contributor

Re: Data driven testing :- Jscript runtime error unexpected error from external database driver(1)

There is no such version still available for me , currently test complete 32 bit version showing its latest version as 12:40 and test complete 64-bit version showing me its latest version as 12:31

 

none of above version showing any updates when clicked on check for update option available under help menu option.

 

do you please provide me link where i can download this latest version named as 12:41 

 

is it external version not available on smart community web site.

 

 

Thanks

Amit

tristaanogre
Community Hero

Re: Data driven testing :- Jscript runtime error unexpected error from external database driver(1)

The TC 12.41 version is not an automatic upgrade by SmartBear.  It has been released and can be downloaded from your support portal if you need it (which it sounds like you do).  

Any questions on it, you should contact support directly.

https://support.smartbear.com/message/?prod=TestComplete


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
cancel
Showing results for 
Search instead for 
Did you mean: