Forum Discussion
AlexKaras
5 years agoChampion Level 3
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.
Related Content
- 2 months agoNicolaFilosa_SE
- 5 years agoAurore
Recent Discussions
- 4 hours agosimonaferrara
- 13 hours agoSubhraDas
- 2 days agotramuntana