Hi
I am having one folder with set of text files now i want to
read and write that text files data into QTP. Any help
plsss.
Answer / gyanesh ranjan rout
Dim fso,f
Set fso=createobject("scripting.filesystemobject")
Set f=fso.OpenTextFile("c:\text.txt", 2, True)
f.Write("how r u")
Set f=fso.OpenTextFile("c:\text.txt", 1)
readalltextfile= f.ReadAll
msgbox readalltextfile
| Is This Answer Correct ? | 1 Yes | 0 No |
write a vb script to rename a folder from tree4 to tree7
Which function is used in the vbscript language to convert the specified expression into a date type value?
Mention how to access array data?
what is the object hyrarchy in QTP for a web based application
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
how to check whether link is disabled in QTP??
Which date function is used in the vbscript language to find the difference between the 2 dates?
what is diff b/n these 2 programs 1) for i=5 to 1 step 2 msgbox "pass" next 2_) for i=5 to 1 step -2 msgbox "pass" next
What are the environments supported by vbscript language?
Mention what is the difference between vbscript and vba?
Mention what is vbscript?
compare the string without using stringcomp function?