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
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
what frame work you are following?
What is a data driven test in qtp?
How to find Operating system information using QTP script?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
What is the meaning Work bench?
What is the difference between local and shared object repository in qtp?
What r the different filters in defect in quality center
How many add-ins comes by default with qtp?
wt is the use of multiple questions in QTP
Explain the check points in quicktest professional?
How do you capture tooltip using QTP?
What is the default add-ins in qtp?
when to start the automation?