Forum Discussion

sinis's avatar
sinis
Contributor
2 years ago

call methods written in c++ to testcomplete

While calling methods to TestComplete, we use the below code to call the methods.

 

using TestComplete; // Add this directive to provide access to the UnitTesting object

// Add MyTestClass to unit testing
Type[] typearr = {typeof (MyTestClass)};
UnitTesting.AddClasses(typearr);

 

When it comes to C++, what should we use?