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
In qtp, explain what is crypt object
if anyone has idea of the interview procedure in covansys, plz send me a mail?
What are the key points to create a framework in QTP for oracle forms?
What is the syntax for how to call one script from another?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
What are the steps involved in recovery scenario wizard?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
We stored into the objects OR and then write the scripting
Describe the differences between functions and actions in UFT?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
how to find that tools work well with ur existing system?
How to customize qtp?
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!!
On what document base Descriptive programming is written if build is not yet ready ?
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????