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 the difference between shared and local object repository?

624


What is QTP scenario.

1740


How will you handle java tree in qtp?

637


when a test case is written how u test using qtp

1661


Explain the qtp test phases.

626






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

1580


Describe synchronization point.

585


Hi,All How to create a link in excel sheet using qtp

3011


How do client side image and server side image work?

1394


Explain the concept of object repository & how qtp recognizes objects?

579


If created one virtual object? Next time I changed the window position will it work?

595


how do i know how to use tools

1460


What is test object model in quicktest professional (qtp)?

559


What is throw Object?

1576


how to explain a claims and insurance project?

1758