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
can u please explain what is the exact difference between qtp8.2 and 9.0
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
What is quicktest professional?
your coming from electrical backgroung..but y ur coming to software side?
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
Is it possible to call win runner script in qtp?
How can I use Call dlls in QTP ?
Should have experience in framework means?
what is defenetion of kiran can u tell me plz CVS, SVN
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
Explain how qtp identifies object?
What are the data types in qtp?
What is the difference between local and shared object repository in qtp?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
What are the types of environment variables in qtp?