Qtp word methods

830 views
762 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
830
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Qtp word methods

  1. 1. For more QTP Realtime Scripts, visit www.ramupalanki.comSet wrdApp = CreateObject(“Word.Application”)Amila ,If you just want to open and save or save as use the following codeSet wrdDoc = wrdApp.Documents.Open(“C:Documents and SettingsrpalankiDesktopworddoc.doc”)wrdDoc.savewrdDoc.saveAs(“C:Documents and SettingsrpalankiDesktopwordtocompar.doc”)wrdDoc.closeSet wrdDoc = NothingSet wrdApp = Nothingwww.ramupalanki.com

×