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
If I change the property value at runtime is it effect is object repository?
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
What is the significance of “action 0” in qtp?
hi nani my doubt is how does qtp process metrix related to software process.
why you have standardized functions? plzzz guys with real time exp. do answer
Connect to QC using AOM.
Is QTP supports Unix. If yes, then how the test automation is done?
How to record application running on the Virtual machine?
How can I import environment from a file on disk?
In qtp, explain what is keyword driven automation framework?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
Explain object spy in qtp.
What is the use of text output value in quicktest professional (qtp)?