fernando_miguel
11 years agoOccasional Contributor
Project suite variables not loaded in TestExecute 10.30
I have a project suite where some temporary variables have been defined. These variables are passed to a Javascript utility function (inside a shared project) called from a keyword test from another project.
Script file where utility function is is linked to project with keyword tests (using "Add existing file ...").
Project with keyword tests defines several project items (one per keyword test).
If I execute the Project from TestComplete (TC 10.30) it is correctly executed, but when I try to execute it from TestExecute it fails because variables defined in project suite are not resolved (they are received as "undefined" in script function).
TestExecute is invoked from a batch file with following command line:
start /wait TestExecute.exe "%suiteName%.pjs" /run "/project:%project%" %projectItemArg% /exit /SilentMode "/ErrorLog:%errorFile%" "/ExportLog:%logFile%" /DoNotShowLog /ForceConversion %appUrlArg% %testToRunArg%
Script file where utility function is is linked to project with keyword tests (using "Add existing file ...").
Project with keyword tests defines several project items (one per keyword test).
If I execute the Project from TestComplete (TC 10.30) it is correctly executed, but when I try to execute it from TestExecute it fails because variables defined in project suite are not resolved (they are received as "undefined" in script function).
TestExecute is invoked from a batch file with following command line:
start /wait TestExecute.exe "%suiteName%.pjs" /run "/project:%project%" %projectItemArg% /exit /SilentMode "/ErrorLog:%errorFile%" "/ExportLog:%logFile%" /DoNotShowLog /ForceConversion %appUrlArg% %testToRunArg%