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
What is the use of running the scripts in Hidden-mode in UFT?
What will be happen if i load object repository at run time, but it has already associated.
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
what is the frame work in J-meter?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
Explain how you can find the absolute value of the number in qtp?
How many number of actions possible in qtp?
Brief the process of testing with UFT?
What is the difference in testing a client-server application and a web application?
What are the recording modes in qtp?
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
Will down time for server and content maintenance/upgrades be allowed? how much?
what is defenetion of kiran can u tell me plz CVS, SVN
How can we conduct U-I Testing by using QTP??????
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer