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 |
How will you declare a variable in qtp?
diff between wr and qtp in detail.
What is the virtual object?
How to capture data from images in QTP and produce them in Excel sheet ? please ans...
in how many ways we can write the user defined functions one way i know that i.e storing it in .vbs another way i does not know my friend said that .qtf or something but start with q letter can any buddy knows about this
How do we handle run-time errors?
which type of testing process are you following in ur company? how to recognize a qtp page?
can we run the scripts of qtp 8.2 in the qtp7.0?
what r the main attributes of test automation?
How does qtp identify objects in the application?
QTP script is not working on other's machine..
What is action split and the purpose of using this in qtp?