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


Please Help Members By Posting Answers For Below Questions

what is description object?

1695


What is quick test pro?

701


Explain the concept of how quicktest professional (qtp) identifies object?

665


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 ?

1870


Plz Explain AUTOMATION REFERENCE MODEL?

1762






descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

1895


How do you create new test sets in td?

607


What VBScript operators, functions, and statements do you use in QuickTest Professional?

2250


How to record a qtp script ?

639


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

1890


What is qtp window?

643


When Recovery scenario actually starts while testing the application?

1648


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1649


How do you configure QTP AND Test director?

1592


Explain the types of object repositorys in qtp?

659