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 to analyzing the checpoint results?
What is qtpro? What is quick test pro? What is a quick test professional?
What is the use of ordinal identifier in qtp?
What is debugging? How you debug your script?
How do you know the location Id of an object if you know its index id?
What is the script for database check point, bitmapchek point, regular expression ?
What is the Difference between copy to action and call to action?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
Differentiate the type of test cases which can be automated and which cannot be automated?
What are the different recording modes and how do they work?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
Brief the process of testing with UFT?