I am executing a dos command through QTP. Problem is that QTP doesn't wait the completion of the command and goes ahead to next statements while said command is under execution. Any way to make QTP wait till completion? (As 'dos_system' do in WinRunner)
P.S: Code is as follows.
Set objCmdLine = CreateObject ("WSCript.shell")
objCmdLine.Exec "cmd /K CD C:\ & composer -inp PostCard.tdesign -epf Postcard.epf -node conversions1 & Exit"
Set objCmdLine = Nothing </font>