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 |
More details about keyword driven technique in QTP
Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible
How to capture screen shots when an error occurs?
what is the use of descripting programming?
What are metrics and matrix?
what is the latest version of QTP? Main difference between 9.2 and 10 version
what is the difference between development and testing
how to acess a test in RSA?
Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?
where did you automate in your project?(please tell me example senarios)
Plz give the vb script for the following scenerio I have faced one issues while doing test in QTP. I have described the scenario below. 1. I have to test web application.In that i want to select from the drop down values in the application. 2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to give value from data table of QTP. 3. For every iliteration it should select A,then B and so on
what is ODC and GDC?