Forum Discussion
Hello Alex,
thank you for your reply. Suggested solution does work, most of the time. Unfortunately, sometimes I get an exception:
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'EventControl.ItcEventControl'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{04CE375E-A7E0-4E23-AF2C-7056C613D98F}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at EventControl.ItcEventControl.AttachToTestComplete()
at AxEventControl.AxEventControl.AttachToTestComplete()
I didn't find any specific circumstances, that would cause this exception so far.
For the second point of question. The log data are actually present on the disc, but they are not visible in TestComplete suite tree. I can add them to the project however, that doesn't help me with my task. I've also noticed that function
Connect.Integration["CloseProjectSuite"]()
returns false. Might this be the problem? How can I save project files?
Thanks again,
Tomas Vondracek