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

Where are the snapshots stored?

2 Answers  


Write a QTP script to print all the link names displayed in a web page

4 Answers   TCS, Virtusa,


How to export quicktest professional (qtp) results to an .xls file?

0 Answers  


What is throw object?

1 Answers  


how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?

5 Answers   Ordain Solutions,






what is the use of automation frame work ??(QTP)

2 Answers  


hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone can help me out by correct script

2 Answers  


what is aregular expression?

4 Answers   UHG,


Hi Friends, Iam Beginner in QTP and i want to Try the software QTP. I checked the mercury site for QTP Trial version and i found QTP 9.0. The thing is that it supports windows 2000,Xp but not windows 98.And Iam using Windows 98 onlu and it's not possible for me to upgrade to windows 2000. Pls. guide me how to get the trial version of QTP which supports windows 98 Operating System The version may be 6.5 is ok for me.Thanks in Advance

2 Answers  


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

0 Answers  


How to make arguments optional in a function?

2 Answers   Crea,


What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.

1 Answers  


Categories