mun555
6 years agoNew Contributor
Test complete 14 upgrade: 'USEUNIT' not available for new projects??
we recently upgraded to TC 14, many of our existing projects using 'USEUNIT' method referenceing Common Library routines/functions. After TC 14 migration If new project is created under the same pr...
- 6 years ago
'USEUNIT' is not available from GUI for "JavaScript" projects (https://support.smartbear.com/testcomplete/docs/scripting/calling-routines/declared-in-another-unit/from-gui.html), but you can use 'USEUNIT' in your projects
You should type '//USEUNIT + name of unit' manually.
E.g.If you want to use functions from "Unit2" module, in "Unit1" module need to type:
//USEUNIT Unit2