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
If you are testing a web application then what will you test in that application?
what is the difference between IE & Netscape in web testing on a log in page
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
How you debug your script?
Explain the differences between table and db checkpoints?
How many types of recording modes are there?
How to use the object spy in quicktest professional 8.0 version?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
How to use Environment parameterization? Explain with an example.
How to use reporter.report event in qtp ?
What is the default add-ins in qtp?
Define Environment Variable in UFT and its uses?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?