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
Is it possible to change the values of analog recording?
what is error and fault in terms of software quality?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
What are the different recording modes?
Diff b/w test scenario's and test Procedures?
images are dynamically changes how to compare two images with out using the bitmap
please any one can explain the keyword driven framework. with gmail example.
What is the use of text output value in quicktest professional (qtp)?
Get the count of files of similar types from a folder.
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
What is the default add-ins in qtp?
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career
What does it mean when a check point is in red color? What do you do?
hi guys, pls tell me for testing institution training hub, hitech city is best or not?