Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write script to read and write data from file ?

Answer Posted / lakshmi

First u create obj for file
set fso=createobject("scripting.filesystemobject")
set <var>=fso.opentextfile("FileName",[IOMode],[create])
IOModes 1-Readonly Create-True
2-Write False
8-append
Readline,writeline...use to access the data.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

2033


What is the file extension of the code file in qtp?

930


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3648


What are the Test design techniques you uses in ur project?

1906


Approach for Installation,comaptibility,system testing

2143


Hi Samrat, Thank u very much, what u said it is right.

1835


Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

2541


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

1029


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1922


How to handle dynamic objects in quicktest professional?

892


What is a programmatic description?

1049


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1826


Explain different checkpoints in qtp.

1197


Is it possible to merge two object repository files in qtp?

1124


how to find that tools work well with your existing system?

1810