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
How do you configure QTP AND Test director?
How to use conditional loops in qtp ?
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
how u will evaluate the tool for test automation?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
What are the technics follow in writing VB script?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
What are the five challenges you faced in QTP?
How can I import environment from a file on disk?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
Tell me about qtp?
How does qtp identify objects in the application?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
What are the different types of qtp test assets and their extensions?