How can you Open a Notepad and How can you write the test
Resuts in Notepad by Using QTP?
Answer Posted / kavitha
dim fso,f,x,y
Set fso=createobject("Scripting.filesystemobject")
Set f=fso.opentextfile("path of the file",1/2/8) {1-reading
mode, 2-writing mode, 8- read and write mode }
While f.atendofline<>true
x=f.readline 'it reads the value
In notepad file u have to put the data and attached to this
program to run the file morethan one time.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are the different types of functions available in qtp and explain ?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
What are the features supported by UFT?
what kind of frame work you used in your last project?
To which environments does quicktest professional (qtp) supports?
What are the features and benefits of quick test pro (qtp 8.0)?
Which scripting language used by quicktest professional (qtp)?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
What is the expert view?
what is error and fault in terms of software quality?
What is the difference between a Function and Action in QTP?
What are the advantages of Object Repository?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
What is the registration process and examination fees?
How you are developing the script? Using record and play back or manual?