| || |
Closing MS Word File using QTP
In my application (Siebel) I have to create a report ,by pressing a button ,Sibeel opens MS word File.
Now I have to close this Word File ,
Manually,which QTP is not recording.
How ever I tried separately to open a file manually,QTP records it like this:::
SystemUtil.Run "C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE","","",""
Can any one help to close this file?
Re: Closing MS Word File using QTP
Try SystemUtil.CloseProcessByName "WINWORD.EXE"