Forum Discussion
AlexKaras
7 years agoCommunity Hero
Hi Prabhjot,
Script units in TestComplete are not classes but just plain source code files. Depending on the script language that you use in your test project, you can declare classes and instantiate them in the same or another script unit. (Though this is not convenient in TestComplete due to some of its code editor specifics and thus is not recommended.)
Go through the https://support.smartbear.com/testcomplete/docs/scripting/calling-routines/index.html help section. It should answer your question.