Forum Discussion

reachtoabhi's avatar
9 years ago

activex component can't create object



While invoking test complete from excell I am getting "Activex component can't create object" error.


I am using below pice of code:

Set tc = GetObject(, "TestComplete.TestCompleteApplication.11")


I have already checked TestComplete Library in excel refrences.


Could some one please help me.




1 Reply

  • tristaanogre's avatar
    Esteemed Contributor

    Interesting... so, you're trying to create/invoke the TestComplete application object within a VB Script in Excel? 

    Can I ask why? I mean, I know TestComplete can be integrated into other environments (Visual Studio, C#, etc.,) but I'm not sure I've heard of this implementation before. If you can describe what you intend to do with this, perhaps there's a different/better way of doing the same thing.