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.



Hi I am having one folder with set of text files now i want to read and write that text files d..

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

Post New Answer

More VB Script Interview Questions

What is the purpose of drive object of scripting.filesystemobject class in vbscript?

0 Answers  


write a vb script to display the reverse of vbs

2 Answers  


best training centre in bangalore

2 Answers  


Have any one know about Test Complete 6, please let me know. If any one have good material regarding Test Complete 6, Please send to my mail id: cns.praveen@gmail.com

1 Answers  


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

0 Answers  






Which function is used to perform string comparison?

0 Answers  


can u test the application without add-in?

1 Answers  


how many types of recording are there?

1 Answers  


write a vb script to calculate factorial of a number?

5 Answers  


What is the use of the formatdatetime function in the vbscript language?

0 Answers  


How to learn VB Script, Since iam working with QTP. So i need to learn VB script.

4 Answers   TCS,


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

0 Answers  


Categories