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 / ashish wadhwa
'For TextFile
'Creating a file system object
Dim objFSO
'Creating a text file object
Dim objTextFile
Const ForReading = 1
Const ForWriting = 2
Const ForAppending = 8
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.CreateTextFile("D:\SampleFile.txt"
,True)
objTextFile.Write("Sample Automation Example of saving text
file"
objTextFile.Close
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the basic concept of qtp?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
In qtp is it possible to check broken links of a page?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
what is output value in QTP and how it can be used in automation testing
What are the views available in quicktest professional (qtp)?
What is the syntax for how to call one script from another?
Where you are storing your script?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
Explain different types of action in qtp?
What are the two types of repositories available, explain them?
How you can find length of array in qtp?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
How does qtp identify the object in the application?
How to check feasibility of the appliction?in automation testing?