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 |
How can the spaces from the string be removed?
this q asked in applabs, q is: QTP should open google.com page and enter "qtp" in one edit(search) box and click search and should open google.com again and enter "job" in edit(search) box and click on search. I tried this but getting error "Edit(search) box matches more than one object", could anyone this question plz..
write a vb script to generate hello 5 times using do until loop
what is extension of the file if its saved from recovery manger to some drive
What are the valid scopes of a variable in vbscript?
What is the output of a + b in vbscript if a = 5 and b = 10?
how to validate the text in a web table
Mention how you can call vbscript functions?
What is the difference between vbscript and vba?
what is used of Property........End Property loop ? how to write the script for it?
how many types of recording are there?
how to write function to validate the number of characters entering into the text box?