I have a VBA executable file and I'd like to invoke it using WSH object, I know I can use SysUtil.Run and InvokeApplication statements . However at this point I am using QC script editor and (SysUtil.Run InvokeApplication) aren't supported there [img]/images/graemlins/frown.gif[/img]
how to use WshShell.Run "C:\Program Files\Project1\QC Reports.exe" ??
Set WshShell = WScript.CreateObject("WScript.Shell")
You can use the online help in QTP, because it includes a full copy of the MS vbScript doc, so you can look up the Run command's details. Also look at Exec as well. Each offers different ways to run the program and wait on (or not) return status.