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 project suite where our existing projects reside, and try to use'USEUNIT', this option is not available, instead 'Import functions' method appears.
we would like to maintain consinstancy among all projects using same methods like 'USEUNIT', is there a way to use 'USEUNIT' for new projects as well?
We are using Test complete 14.0.317
Language : Javascript
Windows 10, Web module
'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