08-28-2012, 10:33 AM
Hi,
U can use word application refering to below code
Regards,
Sankalp
U can use word application refering to below code
Code:
Dim oWord
Set oWord = CreateObject("Word.Application")
oWord.Documents.Add
oWord.Selection.TypeText "Hello World!!! This document is generated by QTP."
oWord.ActiveDocument.SaveAs "c:\test.doc"
oWord.Quit
Set oWord = Nothing
oWord.Documents.Open “C:\test.doc”
Regards,
Sankalp