Contributions
Re: TC11 DDT: An attempt to work with a closed driver
I've had this issue and it was the result of either the spreadsheet being open when the script attempts to access it, or because the machine needed to have the Microsoft Access Database Engine 2010 installed. The latter fixed this problem for me, and was almost always the cause of the problem on new machines.2.6KViews2likes1CommentError: The server threw an exception
Does anyone know what causes this error "Error: The server threw an exception"? Specifically I am getting this intermittently when calling a function that is in a script extension from my main test framework code. The function that gives this error is calling a method on a Delphi grid. When I've been able to catch this happening in debug, inspecting the grid shows lots of these errors throughout the properties of the component. Any advice very much appreciated.684Views0likes0CommentsDUnit Unit Testing in TestComplete
Hi I am attempting to get some DUnit unit tests working in TestComplete 10.6 We have our application that contains all our unit tests and that gets selected into the Process field in the DUnit editor. However, when I clicked on Load to get all the unit tests, the error "Interface not supported" appears. The application has been compiled withtcDUnitSupport.pas included. Any ideas are most appreciated.806Views0likes0CommentsRe: TestComplete "Losing" Methods from NameMapping
Many thanks for the help. I have now solved the problem I was having by going through the script manually, and I managed to find a line of code that appears to have caused this, although I don't fully understand why. The script just has two routines, and in the first there was a line of code that executed a method of a completely different grid instance (same type of component, but used in a totally different part of the application). When I altered this so that it no longer called that method, my original problem was fixed. Something like this: Sub Routine1 Call MyGrid.Method1() //Calling this appears to have altered all the grids of this type in the namemapping End Sub Sub Routine2 Call DifferentGrid.Method2() //This is the method that failed End Sub The solution I have works, but not understanding the cause is a bit frustrating, because I don't know if I'll encounter a similar issue again. Thanks for the help, it did help me narrow this down.1.3KViews0likes0CommentsTestComplete "Losing" Methods from NameMapping
Hi I am currently getting "Unable to find the object" errors when running a script that calls a method on a Delphi grid component. Everything is correctly NameMapped and given Aliases, and on just opening TestComplete for the first time and inspecting the grid component in the application, I see the method there in the Object Browser. But when the script is run I get the error and if I then check the object again, the method has gone. Rather baffled, and I'm a new user to TestComplete. Any ideas greatly appreciated.Solved1.4KViews0likes2Comments