Ask a Question

running .vbs script from jscript testcomplete

jloyzagawh
Contributor

running .vbs script from jscript testcomplete

I want to run this .vbs script C:\pwc\PWC-QTP\runit.vbs

 

Can anybody help me? 

I started here



var strExe = "C:\pwc\PWC-QTP\runit.vbs -h1 -d33";
var objShell = new ActiveXObject("WScript.Shell");
var objScriptExec = objShell.Exec(strExe);
var strExeOut = objScriptExec.StdOut.ReadAll();

cancel
Showing results for 
Search instead for 
Did you mean: