Ask a Question

can not create a testComplete object


can not create a testComplete object

I am using visual studio 12,  with C#


 exception. System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object..

System.Exception: Can not create TestComplete object.
at AutomatedQA.script.var.GetObjectAlternative(String Name, String AlternativeName)
at AutomatedQA.TestComplete.Connect.TBaseTCClass.GetTestCompleteIntegration()
at AutomatedQA.TestComplete.Connect.IntegrationClass.Init()
at AutomatedQA.script.var.get_Item(String name, var[] args)
at AutomatedQA.TestComplete.Connect.RunTest(String LogName, String ProjectName, String SuiteName)

I tried the solution to modify the troubleshooting compatibility of devenv.exe and that did not work



I am  using test complete 12

SmartBear Alumni (Retired)

Hi @chrislukasik,


There are some specifics of working with TestComplete via COM. Please check out the following article to make sure that you set everything correctly:


Also, pay attention to the fact that we recommend using TestLeft to create test code that runs from within your tested application

Tanya Yatskovskaya
SmartBear Community and Education Manager



In addition, just released TestComplete 14.10 provides REST API that may appear to be useful for you:


  /Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: