3.How to record a word doc using qtp i.e open a word
doc,type something and save the doc can someone send me the
code.

Answer Posted / feroz

Dim objWord
Dim wrdDoc
set objword = CreateObject("Word.Application")
objword.visible = true
Set wrdDoc = objword.Documents.Add
wrdDoc.Range.InsertBefore "Hi Good Morning!"
wrdDoc.SaveAs "C:\Greetings.doc"
objword.quit
Set objword = nothing

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

1469


How to use the object spy in quicktest professional (qtp) 8.0 version?

514


Explain in brief about the quicktest professional (qtp) automation object model?

572


What are the different types of action?

560


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

563






What is the difference between qtp and selenium?

551


What are the views available in quicktest professional (qtp)?

577


Output values? i want a practical example

1312


Explain in brief about the quicktest professional automation object model?

517


What is the use of Debug Viewer?

1492


Explain about the test fusion report of quicktest professional?

535


What is different command used in command Prompt while using QTP?

1747


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1446


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

1365


Explain about datafile/verification of date file when file is not available in local system?

2230