Haiyangwhu
10 years agoContributor
WScript.Shell run get different results in two projects
Hi all,
I have a project suite contains two projects, and i have create a sample function as below:
function RunCommand()
{
var shell = new ActiveXObject("WScript.Shell");
shell.Run("\"C:\\Program Files (x86)\\TICAC\\adminconsole.exe\"");
}
I put and run the routine in two projects but get different results. Please refer to attach file for detail info.
Does any one know what settings will affect the WScript.Shell running result in Test Complete?
Thanks,
Ocean
I have a project suite contains two projects, and i have create a sample function as below:
function RunCommand()
{
var shell = new ActiveXObject("WScript.Shell");
shell.Run("\"C:\\Program Files (x86)\\TICAC\\adminconsole.exe\"");
}
I put and run the routine in two projects but get different results. Please refer to attach file for detail info.
Does any one know what settings will affect the WScript.Shell running result in Test Complete?
Thanks,
Ocean