Forum Discussion

maria_vst's avatar
maria_vst
Contributor
9 years ago
Solved

TestExecute 11, Connected Application, error in axEventControl1.AttachToTestComplete()

We are migrating our tests from TestExecute 9 to TestExecute 11, but on different Windows also - from Windows 7 to Windows 10.
The current environment is: Windows 10, Test Execute 11.

Our tests are based on Connected Application testing. They are working without problem in old environmet: Windows 7, Test Execute 9.

We do all steps necessary for Connected Applications, but when run tests there is an error (which crashes vshost.exe) executing this:
axEventControl1.AttachToTestComplete();


Error HRESULT E_FAIL has been returned from a call to a COM component.
Interop.EventControl


  • maria_vst's avatar
    maria_vst
    9 years ago

    Issue resolved by totally recreating the project with reference to Test Execute ocx.

    Regards,

    Maria

6 Replies

    • maria_vst's avatar
      maria_vst
      Contributor

      Issue resolved by totally recreating the project with reference to Test Execute ocx.

      Regards,

      Maria

      • maria_vst's avatar
        maria_vst
        Contributor

        Hello

        Migrating from TestExecute11.20 to 11.31 we again receive the same error on 

        axEventControl1.AttachToTestComplete();

        Error HRESULT E_FAIL has been returned from a call to a COM component.
        Interop.EventControl

         

        Module: {EventControl.dll}
        Reflected Type : {Name = "ItcEventControl" FullName = "EventControl.ItcEventControl"}

        The previously mentioned solution doesn't work (Issue resolved by totally recreating the project with reference to Test Execute ocx.)

         

        Regards,
        Maria