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
if our qtp vb Script may be Currepted then What we want do?
desribe a situation where u faced a stressful situation and how did u cope with it
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
What is synchronization point in QTP?
Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)
What is action?
what QTP Options do you know?
What is reusable action?
Limitations in QTP?
how to write xml output check point bu useing descriptive programing .means without useing output check point
what is the latest version of QTP? Main difference between 9.2 and 10 version
How many types of recording modes in qtp?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!