larolsen
11 years agoContributor
Major issues with DDT.ExcelDriver
Hi
We have a strange problem with the DDT Exceldriver...
We use TestExecute 10.30 on our windows testmachines, and we store setup information for the tests in an Excelsheet.
We access the data in Excel via an installed ACE driver, and this command:
Set DdtGlobal = DDT.ExcelDriver(G_strTables, P_strSheetName, TRUE)
G_strTables holds a full path to the excelworkbook, and p_strSheetName holds the name of the requested sheet. The DdtGlobal is a globally defined object, used throughout our testscripts.
On SOME of the machines, this works fine. On SOME machines it fails 10-20 % of the times, and on a few machines it never works. The error seems to occur evenly on VMware virtual machines, as well as on "real" machines.
The error message in our logs, are the rather uninformative "Unspecified Error".
We have tried ALOT of things to try and resolve this on our failing machines, but with no luck. So far we have tried:
* Re-installing the machines, incl TestExecute
* Create a blank excelsheet from scratch
* Tried installing a newer ACE driver
* Tried writing errorhandling around the failing call
* Even tried installing Microsoft Office on one of our testmachines
None of this fixed it.
Any tips to getting around this problem is much appreciated, as it is driving us nuts!
Best regards
Lars Lund Olsen
We have a strange problem with the DDT Exceldriver...
We use TestExecute 10.30 on our windows testmachines, and we store setup information for the tests in an Excelsheet.
We access the data in Excel via an installed ACE driver, and this command:
Set DdtGlobal = DDT.ExcelDriver(G_strTables, P_strSheetName, TRUE)
G_strTables holds a full path to the excelworkbook, and p_strSheetName holds the name of the requested sheet. The DdtGlobal is a globally defined object, used throughout our testscripts.
On SOME of the machines, this works fine. On SOME machines it fails 10-20 % of the times, and on a few machines it never works. The error seems to occur evenly on VMware virtual machines, as well as on "real" machines.
The error message in our logs, are the rather uninformative "Unspecified Error".
We have tried ALOT of things to try and resolve this on our failing machines, but with no luck. So far we have tried:
* Re-installing the machines, incl TestExecute
* Create a blank excelsheet from scratch
* Tried installing a newer ACE driver
* Tried writing errorhandling around the failing call
* Even tried installing Microsoft Office on one of our testmachines
None of this fixed it.
Any tips to getting around this problem is much appreciated, as it is driving us nuts!
Best regards
Lars Lund Olsen