Forum Discussion
cokyn
13 years agoContributor
Hi Tanya, I am sorry for my late response.
Unfortunatelly it did not resolve my problem.
var WScriptObj = Sys.OleObject("WScript.Shell");
ESI_run_bat_location="c:\\Program Files (x86)\\SmartAIM\\ESI_Client";
Log.Message("chdir "+"\\"+ESI_run_bat_location);
WScriptObj.Exec("chdir "+"\\"+ESI_run_bat_location);
Your suggested command means that TestComplete would execute the following command -
chdir \c:\Program Files (x86)\SmartAIM\ESI_Client
I am receiving the error "the system cannot find the file specified"
and I am receiving the same error even if I run just WScriptObj.Exec("chdir");
Any clue?
Martin
Unfortunatelly it did not resolve my problem.
var WScriptObj = Sys.OleObject("WScript.Shell");
ESI_run_bat_location="c:\\Program Files (x86)\\SmartAIM\\ESI_Client";
Log.Message("chdir "+"\\"+ESI_run_bat_location);
WScriptObj.Exec("chdir "+"\\"+ESI_run_bat_location);
Your suggested command means that TestComplete would execute the following command -
chdir \c:\Program Files (x86)\SmartAIM\ESI_Client
I am receiving the error "the system cannot find the file specified"
and I am receiving the same error even if I run just WScriptObj.Exec("chdir");
Any clue?
Martin