Explain abt the File System Object in QTP with ex

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we load add-ins in qtp?

857


What are the steps involved in the recovery scenario wizard?

797


What is the standard timing delay for web based application in qtp?

849


Mention the different actions types of qtp.

795


What are the key elements available in test result window?

895


What are main panes available in qtp test browser?

730


Explain the checkpoint in qtp?

852


How is a Step generator used in UFT?

911


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

805


what is the hierarchy to use properties in descriptive programming

1752


How to save your test using quicktest professional?

770


How will you check that your test cases covered all the requirements?

801


Define Error Pane of UFT?

884


What is the basic concept of quicktest professional (qtp)?

808


How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

2118