none
InvalidComObjectException

    Allgemeine Diskussion

  • Hi,

    i have some strange issue with CodedUI.

    Ihave two TestMethod. Running each alone, No Problem. Runnig them in One TestRun, i got an 

    System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.

     

    Application under Test is an MFC App. I Close this APP after each Testrun and restart the APP. Everything works well, only the Call of an Modal Dialog results in this crash.

    Debug Log

    E, 1812, 22, 2010/05/21, 14:08:03.831, 753294541701, QTAgent32.exe, EnsureValid called via EnsureValid call for same element

    E, 1812, 22, 2010/05/21, 14:08:03.883, 753294686481, QTAgent32.exe, Window 921320 not responding. Last Win32 error 2

    E, 1812, 22, 2010/05/21, 14:08:03.884, 753294689131, QTAgent32.exe, GetClassName for handle 921320 failed

    W, 1812, 22, 2010/05/21, 14:08:04.270, 753295754265, QTAgent32.exe, IEDOM : StopSession of the plugin called before StartSession

    W, 1812, 22, 2010/05/21, 14:08:04.271, 753295756909, QTAgent32.exe, UIA : StopSession of the plugin called before StartSession

     

    Kind Regards

    Markus

     

    Freitag, 21. Mai 2010 12:16

Alle Antworten