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 are the recording modes in wave event?
Explain quicktest professional (qtp) testing process?
breef description of batch testing ?
In what occasion we can specify global sheet and action sheet?
What is the difference in the global and action sheet in qtp?
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
How to define array in qtp?
What is the basic concept of quicktest professional?
how to prepared for first for the first interview?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
Have you done batch testing in qtp? If yes how you are doing?
How many lines of code in each script of QTP?
What are the key points to create a framework in QTP for oracle forms?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
What is method name to compare two XML files.