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
How to start recording using quicktest professional (qtp)?
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
How to create scenario selector
What are the recording modes in qtp?
How does qtp recognize objects in aut?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
How to import a test case present in ".xls" file to TD under a Test set?
Explain the concept of object repository and how qtp recognises objects?
hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
what is error and fault in terms of software quality?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
if numbers are always changing write a script for that