ActiveX component can't create object: 'QuickTest.Application

I am getting following error in line "Set objQTP = CreateObject("QuickTest.Application")".

Error: ActiveX component can't create object: 'QuickTest.Application'
Code: 800A01AD
Source: Microsoft VBScript runtime error

This is very inconsisitent, I am not getting this always. I observed that when QTP takes more than 2 mins to launch that time this error occured. Other wise I am able to launch the QTApplication from VB Script.
Is there any where I can set up timeout for ActiveX component?
I need the solution ASAP. Please help me.



P.S. This thread has been moevd from uality Center Support and News Forum to Unified Functional Testing (formerly QTP) News and Support Forum. - Hp Forum Moderator

Parents Reply Children
No Data