Create a file system object to do the following
i. Create a folder
ii. Create a text file in the folder
iii. Update text file with some tex
Answer Posted / usha
set fso=createobject("scripting.filesystemobject")
set f= fso.createfolder("C:UserssingarsyDesktopusha")
set file= f.createTextFile("abc.txt",2)
file.write("masdkmas.........")
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can you create an object in vbscript?
Explain the string concatenation function in vbscript?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
How can you destroy an object in vbscript?
Explain the scope of the variables using dim, public, and private keywords respectively.
when we use filter funtiom invb script(QTP)
When to use function procedures and what are its characteristics?
how to increasing the numbers in a given text box please write a vb script
What is event handling in vbscript?
What is the use of option explicit in vbscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
How will you get a string with the specified character the specified number of times in vbscript?
Which function allows you to instantiate an object given its programmatic identifier or progid?
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.