Explain abt the File System Object in QTP with ex

Answers were Sorted based on User's Feedback



Explain abt the File System Object in QTP with ex..

Answer / mittal

the above should be
y.writeline "welcome" instead of x.writeline

Is This Answer Correct ?    7 Yes 0 No

Explain abt the File System Object in QTP with ex..

Answer / rico

The FileSystem Object is the object that is used to
manipulate the filesystem in Active Server. Moving files,
opening and reading text files, and looking at drive space
are a few of the many functions of the FileSystem Object.
The FileSystem Object actually contains five objects: the
main Filesystem object, the Drive object, the Folder
object, the File object, and the TextStream object.

Is This Answer Correct ?    6 Yes 0 No

Explain abt the File System Object in QTP with ex..

Answer / suresh

---Create Instances of Object---
set x= CreateObject(Scripting.FileSystemObject)
set y=x.CreateTextFile("c:\a.xls",true)
x.writeline "welcome"
Used for creating xls/notepad/doc instances, with which we
can store data into it.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More QTP Interview Questions

how will u do database testing in qtp? how will u do the same with descriptive programming?

1 Answers   Ordain Solutions,


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

0 Answers   Accenture,


I have 3 browsers i want to give facebook url in 2 nd browser using qtp

3 Answers   Tech Mahindra,


what is aregular expression?

4 Answers   UHG,


HI, Anybody can explain Automation Test Framework...and wht do we do before start of Automation.....

5 Answers   Polaris, Siemens,


Gmail application is there.On that Inbox so many mails are there including naukari mails. On that mails i can select the only naukri mail checkboxes. plz tell the descriptive code for the above..

2 Answers   Impetus,


Where can i get the QTP tutorials. I wanna move to automation testing. Is there any book or URL, where i can find the source to read...

1 Answers  


Explain types of output values?

0 Answers  


In a Web appl, on a page, there are student names & details listed.On clicking sort button,details are sorted on Names.How do u verify htat sorting is done by using QTP?

1 Answers   IBM,


What are the different ways to invoke an application using QTP?

0 Answers  


How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?

1 Answers   Motorola,


suppose i opened 6browsers and i want re-open the 4browser what is code for this..pls help me..

2 Answers   Core Logic,


Categories