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 to add synchronisation points in qtp?
What are the recording modes in qtp?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
Does QTP record on Objects created on XWindows Environment?
What is expert view in qtp?
Is it possible to merge two object repository files in qtp?
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
How to modify the text checkpoint?
What are some test assets and related extensions of qtp?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
What is parameter in qtp?
When to use descriptive programming?
whow much strong on VB and C?