Ask a Question

can not create a testComplete object

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

I am  using test complete 12

TanyaYatskovska
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:

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 Yatskovskaya
SmartBear Community and Education Manager



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 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.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
cancel
Showing results for 
Search instead for 
Did you mean: