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
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
How can you identify the browser and its information using the qtp script?
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
What is text/text area checkpoint?
How software automation specialist enter steps in the Expert View?
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
explain how to write vb script in qtp?when will you write own script?
how to find that tools work well with ur existing system?
What is object spy in quicktest professional (qtp)?
Explain the difference between call to action and copy action?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
What do you mean by checkpoints in qtp?
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
Is it possible to call win runner script in qtp?
Analyzing the checpoint results?