How can you Open a Notepad and How can you write the test
Resuts in Notepad by Using QTP?
Answer Posted / king
Set a=createobject("Scripting.filesystemobject")
Set b=a.opentextfile("E:\raju\1.txt",2) {1-reading mode, 2-
writing mode, 8- appending mode }
While b.atendofline<>true
y=b.readline ---- Read the line on particular
mentioned fine
b.writeline "I Love QTP" --- write the line on particular
mentioned file
Wend
i think it's working proerly, if u have any quarries plz
let me know
raju.gudla@gmail.com
9823257761
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
Sql questions to find second max salary and how to use joins
can u explain relative path architecture framework in qtp?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
What is the parameterization?
How does you test a weblink which is changing dynamically?
What are the types of environment variables in qtp?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
How to use debug tools?
What is the use of Debug Viewer?
Have you done batch testing in qtp? If yes how you are doing?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
How we can import data from database?
Explain advantages and disadvantages kdf?