cancel
Showing results for 
Search instead for 
Did you mean: 

can not create a testComplete object

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
Occasional Contributor

Re: can not create a testComplete object

I am  using test complete 12

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.↓↓↓↓↓
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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Here?
Join us and watch the welcome video:
Watch the New Interview
APITestingMistake#2