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 / chaitu
Dim word
Dim doc
Set word = CreateObject("Word.Application")
Set doc = word.documents.Add
word.visible = True
doc.selection.typetext " Open MSWord"
doc.saveAs "C:\chaitu.doc"
word.quit
Set word = nothing
Set doc = nothing
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How many types of recording modes in the qtp?
How can you give wait up to 10 seconds in qtp?
How often were they executed?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
How to use the object spy in quicktest professional (qtp) 8.0 version?
For which type of projects the iterative model is not suitable?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
What are the different properties of an web object
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
How to find the length of the string in qtp?
What is action split and the purpose of using this in qtp?
Is QTP supports Unix. If yes, then how the test automation is done?