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 |
Which environments does qtp support?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
Hi Friends, I'm new to QTP. I want to write a function in QTP for below senario. In an Excel sheet column B, I Have 10 Url/Links, and in Colum A there is a Flag as Y and N. My test should run only on those iterations which are flagged as Y. Please help, Thanks
What is difference between QC and TD?
What are the QTP advantages and disadvantages?
does the vb script knowledge is mandatery in testing using QTP
What are they Advantages and Disadvantages in QTP 9.2?
write a script for get the following result: username password frm the string1="A=username" string2="B=password"
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
how you test broken link using the automated tool QTP ?
what is the Exact Meaning of Environment Variables?
How to remove associated function library?