Explain abt the File System Object in QTP with ex
Answers were Sorted based on User's Feedback
Answer / mittal
the above should be
y.writeline "welcome" instead of x.writeline
| Is This Answer Correct ? | 7 Yes | 0 No |
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 |
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 |
Does QTP record on Objects created on XWindows Environment?
Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).
How to handle the exceptions using recovery scenario manager in QTP?
what is the difference between link and hyperlink?
How you are developing the script? Using record and play back or manual?
What is the recovery scenario in qtp?
What is descriptive Programming in qtp.
Can any one explain about environment variables with examples?
where the check points are stored ?
How can I pass values from one action to another in QTP ?
What are the advantages of Object Repository?
Please explain me frameworks & how to generate the scripts in framework