Can Any One Write How to Write the Script for Child Objects
Answer Posted / kanda
Here i am giving one example to create New file in New
Folder and to write a "Hello World" in that file
File System Object Model
----------------------------
set fso =createobject("scripting.filesystemobject")
set newfolder = fso.createfolder("C:\QTP",True)
Set newfile = newfolder.createtextfile("C:\QTP\Test1",True)
newfile.writeline("Hello World")
newfile.close
Try with tis..I hope it will work
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Which recording modes need more memory?
What is object spy in quicktest professional (qtp)?
What is the Difference between test object and run time object?
How to check feasibility of the appliction?in automation testing?
What is qtpro?
Will down time for server and content maintenance/upgrades be allowed? how much?
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.
What is the registration process and examination fees?
What is the significance of “action 0” in qtp?
How to find operating system information using the qtp script?
What is expert view in qtp?
Explain how to use QTP to check broken links on a page?
why you have standardized functions? plzzz guys with real time exp. do answer
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
• What type of testing questions will be asked for 2+ yrs exp people in interview?