title: How to convert this VBScript code to use with JScript in TestComplete?
body: <p>How to convert the following VBScript code to use with JScript in TestComplete? We are trying to invoke the application/.exe using Windows Script Host functions instead of the predefined functions in TestComplete.</p>
  
  <pre><code>strExe = "C:\whatever\myprogram.exe -h1 -d33"
  Set objShell = CreateObject("WScript.Shell")
  Set objScriptExec = objShell.Exec(strExe)
  strExeOut = objScriptExec.StdOut.ReadAll
  </code></pre>