Forum Discussion

vcheung's avatar
vcheung
Occasional Contributor
13 years ago

System.Runtime.InteropServices.COMException (0x80004005): Unspecified error during RunTest(x,y,z)

Hi,



I'm currently attempting to integrate TestComplete in a program, and upon running the RunTest(x,y,z) method, it threw an exception and I'm not sure where to even start looking at what the problem is.  I've pasted the stack trace below. Any information would be greatly appreciated. Thanks.



12/4/2012 12:37:44 PM: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80004005): Unspecified error

   --- End of inner exception stack trace ---

   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)

   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)

   at AutomatedQA.script.var.VarDelegate.CallNoPop(var[] args)

   at AutomatedQA.script.var.VarDelegate.CallStatic(var[] args)

   at AutomatedQA.TestComplete.Connect.RunTest(String LogName, String ProjectName, String SuiteName)

   at Fortiva.QA.TestCompleteWrapper.General.TestComplete.StartTesting()

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Vincent,


     


    Have you added all the needed modules to your project as it's described in the "Connected Applications" article (based on the type of your app)? If the problem persists, you'd better contact our Support as it may require future investigations.


     

  • I am getting error 'unspecified error' at one specific testcase while executing in the suite.

    When i run it seperately it runs find...

    Please provide  input as i have already sped lot of time and its affecting my performance.