adspace


write script to read and write data from file ?

Answer Posted / lakshmi

First u create obj for file
set fso=createobject("scripting.filesystemobject")
set <var>=fso.opentextfile("FileName",[IOMode],[create])
IOModes 1-Readonly Create-True
2-Write False
8-append
Readline,writeline...use to access the data.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if anyone has idea of the interview procedure in covansys, plz send me a mail?

2064


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

2151


How to give a call to another action from one action?

1171


write script for bitmap image?

2117


Hi, how can we check or avoid the memory leakage in QTP9.2?

2169


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

1301


Hybrid framework supports Descriptive programming. Is it true?

1236


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

3424


What is the new version of qtp which is recently released in the market?

1162


How are actions and functions different in QTP?

1153


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

2081


can anyone tell me from where i can download qtp demo or crack version

2081


When to use shared and local object repository?

1162


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

2430


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

2327