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
How to export quicktest professional results to an .xls file?
How to open a new test using quicktest professional?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
Explain in brief about the quicktest professional automation object model?
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
how to disable the pop ups through QTP using a script
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
What will be happen if i load object repository at run time, but it has already associated.
Can we use index on view?
Did the scripts need lot of maintenance? If yes, why?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
Difference between action & Reusable action?
What is the expert view?