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
What is quicktest professional?
what frame work you are following?
How to release all resources file from the QTP?
How to export quicktest professional results to an .xls file?
What are the automation metrice in your project?
How the exception handling can be done using quicktest professional?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com
What is quicktest professional window?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
What are the steps involved in recovery scenario wizard?
How to analyzing test results using quicktest professional?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
What is qtpro? What is quick test pro?
What are benefits of qtp?