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
Why do we use breakpoints in QTP?
What is the difference between rational rose and QTP?
what is the difference between built-i function and In-built function?
How to find a window is minimized or not
What is the XML file architecture ?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
Can we use index on view?
What is the basic concept of quicktest professional (qtp)?
How to give a call to another action from one action?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
Does QTP record on Objects created on XWindows Environment?
Explain the types of properties that quick test learns while recording?
what is output value in QTP and how it can be used in automation testing
How to break the object spy ?
In Remote acess server how u run a test?