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 anyone has idea of the interview procedure in covansys, plz send me a mail?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
Whats the realtime QTP testing process
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
In qtp, how you can exit for loop?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
What is optional step in qtp? How you can add optional step in qtp?
Discuss the QTP Environment?
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
What are the properties you would use for identifying a browser and page when using descriptive programming?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
How is a Step generator used in UFT?
What are the different types of functions available in qtp and explain ?
what QTP Options do you know?
what is profile tool?