UtilsA.import

Evaluates the specified JavaScript file in the arguments context.

UtilsA.import(fileName);

Arguments

fileName. (string) The absolute path to the JavaScript file.

Return value

A promise that will be fulfilled with no arguments.

Example

Copy code
UtilsA.import(TC.scriptDir + "myjs.js").then(function(){
  TCA.done();
}).catch(function (error) {
  TCA.doneWithError(error);
});