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
What is the short cut keys for the following?
How many types of recording modes are there?
What are the features of quick test pro(qtp)?
What is Distributed testing? How does UFT support it?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
How can you handle exceptions in qtp?
what is profile tool?
what is meant by Implicit and explicit requirements?
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
Where you are storing your script?
Explain QTP using different development techniques ?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
To which environments does quicktest professional supports?
What are the Test design techniques you uses in ur project?