10-21-2009, 06:23 PM
cd\
wscript C:\DashboardScript\VBSDashboard_Original.vbs
I write these two lines in a .bat file. When the .bat file is called the Vbscript is executed. This Vbscript runs for a longtime but QTP doesn't wait for it to complete the execution. After executing the 'systemutil.run C:\Dashboard.bat' step, the execution is immediately moved to the next step.
wscript C:\DashboardScript\VBSDashboard_Original.vbs
I write these two lines in a .bat file. When the .bat file is called the Vbscript is executed. This Vbscript runs for a longtime but QTP doesn't wait for it to complete the execution. After executing the 'systemutil.run C:\Dashboard.bat' step, the execution is immediately moved to the next step.