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

What is a quick test professional?

631


How you can replace string in qtp?

572


if our qtp vb Script may be Currepted then What we want do?

1485


wt is the use of multiple questions in QTP

1676


What is checkpoints for quicktest professional?

551






How many ways is to parameterize the value?

617


How can you identify the browser and its information using the qtp script?

587


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

1636


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1348


How would you export a script from one pc to another in qtp?

663


What is the difference in the global and action sheet in qtp?

571


hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me

1758


what is defenetion of kiran can u tell me plz CVS, SVN

1572


How we can import data from database?

651


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1471