Forum Discussion

Haiyangwhu's avatar
Haiyangwhu
Contributor
10 years ago

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

1 Reply

  • Sorry, please ignore this issue.

    it looks like an issue of the launched application, it reads configurations from current folders.