Qtp word methods
Upcoming SlideShare
Loading in...5
×
 

Qtp word methods

on

  • 1,043 views

 

Statistics

Views

Total Views
1,043
Views on SlideShare
1,043
Embed Views
0

Actions

Likes
0
Downloads
11
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Qtp word methods Qtp word methods Document Transcript

  • 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