Answer Posted / mm sarwar
Set objFile = CreateObject("Scripting.FileSystemObject")
Set myFolder = ObjFile.CreateFolder ("C:Program FilesFSO")
If objFile.FolderExists ("C:Program FilesFSO")
MsgBox "Folder is Created"
End If
Set myFile = objFile.CreateTextFile ("C:Program FilesFSO ext_01.txt")
If objFile.FileExists ("C:Program FilesFSO ext_01.txt") Then
MsgBox "File Created"
End If
myFile.WriteLine "Hello World"
myFile.Write "We are practicing UFT."
myFile.Write "One day all of us get a Job"
myFile.Close
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the key points to create a framework in QTP for oracle forms?
How to creating an output value using quicktest professional?
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
How do know the number of browsers opened?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
How to use actions in qtp ?
To which environments does quicktest professional (qtp) supports?
What is the process of synchronizing qtp and aut?
Give me some real time point of way where exactly we can conduct audits?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
What are the types of object repositories? Which one is you using?
why text area checkpoints cannot used for web applications
How to integrate the qualitycenter with qtp
What are the Disadvantages of shared object repository?