Forum Discussion
AlexKaras
12 years agoChampion Level 3
Hi,
When TestComplete/TestExecute opens project that contains events (e.g. OnLogError, OnStartTest, etc.) it generates and registers a type library (.tlb) that proxies the given project to the COM server (provided by TestComplete) that implements the support for project events. When the project is closed, TestComplete unregisters type library.
The mentioned error means that something went wrong while generating and registering type library (e.g. access permissions, especially in the case when the project is opened in the networked mode, etc.).
As a workaround, when the project was opened without the error (which means that type library was created and registered), it is possible to clear the 'Unregister the type library when the project is closed' option found under the Tools|Options|Engines|Events main menu path.
Clearing this option will keep the potentially unnecessary registration information in the registry, but on the other hand, TC will not generate/register .tlb every time when the project is opened as the required information will already exist in the system.
Hope, this will help...
When TestComplete/TestExecute opens project that contains events (e.g. OnLogError, OnStartTest, etc.) it generates and registers a type library (.tlb) that proxies the given project to the COM server (provided by TestComplete) that implements the support for project events. When the project is closed, TestComplete unregisters type library.
The mentioned error means that something went wrong while generating and registering type library (e.g. access permissions, especially in the case when the project is opened in the networked mode, etc.).
As a workaround, when the project was opened without the error (which means that type library was created and registered), it is possible to clear the 'Unregister the type library when the project is closed' option found under the Tools|Options|Engines|Events main menu path.
Clearing this option will keep the potentially unnecessary registration information in the registry, but on the other hand, TC will not generate/register .tlb every time when the project is opened as the required information will already exist in the system.
Hope, this will help...
Related Content
Recent Discussions
- 18 hours ago
- 5 days ago