Forum Discussion

sinis's avatar
sinis
Contributor
9 months ago
Solved

TestComplete TCUnit Test

I tried to create a tcunit test and wrote a script in C++ function Main() { try { TestedApps["RunAll"](); Delay(5000); UnitTesting["..."]["Execute"](); TestedApps["CloseAll"](); } catch(exc...
  • rraghvani's avatar
    9 months ago

    I've created a simple C#  .Net 4.8 application, and I'm able to call the method HelloWord from TestComplete,

    As described in TestComplete Unit Tests - .NET Applications, you need to add AutomatedQA.TestComplete.UnitTesting.dll assembly in your project. UnitTesting will then be available. Same should apply to C++.