cancel
Showing results for 
Search instead for 
Did you mean: 

can not create a testComplete object

Highlighted
Occasional Contributor

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

 

3 REPLIES 3
Highlighted
Occasional Contributor

Re: can not create a testComplete object

I am  using test complete 12

Highlighted
Community Manager

Re: can not create a testComplete object

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:

https://support.smartbear.com/testcomplete/docs/working-with/automating/via-com/about.html

 

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

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Community Hero

Re: can not create a testComplete object

Hi,

 

In addition, just released TestComplete 14.10 provides REST API that may appear to be useful for you: https://support.smartbear.com/testcomplete/docs/reference/tc-service/api.html

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
New Here?
Join us and watch the welcome video:
Read the Latest News
JuneSCNJ
Top Kudoed Authors