executeFile() does not work correctly on main.js (automation)
Posted: 22 Jun 2013 21:50
Hello,
It seems that the variables doesn't set correctly with the executeFile() Method.
For example
function startAutomation() {
// load global varible _scripts_configs
debugPrint("Starting JS Automation engine");
_scripts_configs = null;
executeFile(configFile);
loadAndInitModules();
_scripts_configs = null;
}
_scripts_configs is empty at the point where loadAndInitModules() gets called.
Is this a problem on my site?
It seems that the variables doesn't set correctly with the executeFile() Method.
For example
function startAutomation() {
// load global varible _scripts_configs
debugPrint("Starting JS Automation engine");
_scripts_configs = null;
executeFile(configFile);
loadAndInitModules();
_scripts_configs = null;
}
_scripts_configs is empty at the point where loadAndInitModules() gets called.
Is this a problem on my site?