How can we use the "CreateObject
("Scripting.FileSystemObject")" in QTP and what is the
definition and purpose of it?

Answers were Sorted based on User's Feedback



How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and wha..

Answer / radhika

set fso=createobjective("scripting.filesystemobject).
The purpose of this one is for creating object.
Its uses to get Test data from flatfile(notepad) in
Dtadriven framework

Is This Answer Correct ?    2 Yes 1 No

How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and wha..

Answer / mahesh.k

the purpose of this filesystemobject is to handle files folders drives.
creation is
set fso=createobject("fileSystemObject")
usage is
fso.(required function)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to parameterize in QTP?

4 Answers  


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

0 Answers   AppLabs,


How many types of Test Plans are there...??

5 Answers  


HI ALL I AM WORKING AS A AUTOMATION ENGINEER FROM PAST 2 MONTHS IN QTP,MY QUESTION IS IF I OPEN THE BROWSER FIRST & THEN THE QTP LATER MY OBJECT SPY WILL NOT WORK,Y IT IS SO..IF U HAVE THE ANSWER PLZ MAIL ME AT AKSHAR.MYSORE@GMAIL.COM

8 Answers   Infosys, TCS,


please send detail navigation for merging of object ripositories in QTP 8.2

3 Answers   Infosys, Ordain Solutions,






How do we retrieve the content from a text box in a web page

2 Answers  


There are two tabs in the application suppose, A and B.On clicking the tab "A" one table grid will open. if u click on tab "B" Another table gride will open. Now can I do some operations on both table grids with a single table grid properties in the object repository? I have added all objects of the first table grid into the object repository Now iam checking enable/disable status of "save button" in the second table grid my code is like this val=javawindow("zseries").javabutton("save").getroproperty ("enabled") when I highlighting the save button in the object repository by keeping open the second tablegrid on the application.It is displaying the popup message"The selected object can not be found in the application" can I use properties of one table grid for both tabs if so how it is possible. Can anyone help me

2 Answers   Livetek,


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

0 Answers  


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

0 Answers  


1)Difference Between Value & RawValue?

2 Answers   Wipro, Zensar,


how will we run batch tests in qtp what is the process to run the multiple test sets?

3 Answers  


How to use transactions in qtp?

0 Answers  


Categories