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 / vijay
Set word = CreateObject("Word.Application")
Set doc = word.documents.Add
word.visible = True
word.selection.typetext " Open MSWord"
doc.saveAs "C:vin.doc"
word.quit
Set word = nothing
Set doc = nothing
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain the features and benefits of quick test pro(qtp)?
How do you perform Regreession Testing?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
Do you know how to connect database? Can you tell me the procedures?
What are the different types of recording modes?
Why is Client side image is preferred over server side image?
Explain measuring transaction.
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
How to customize qtp?
How to use descriptive programming?
How the smart identification is used in real time?Please explain with an example
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
How do client side image and server side image work?