QTP Script to Create MSWORD Document

QTP Script to create New MicroSoft Word Document

Dim obj
Set obj = CreateObject("Word.Application")
obj.Documents.Add
obj.Selection.TypeText"Hiiiiiiiiiiiiiiii"
obj.ActiveDocument.SaveAs"c:\Test.doc"

QTP Script to Create Excel Sheet

QTP Script to Create Notepad

No comments:

Related Posts Plugin for WordPress, Blogger...

Fun and Knowledge