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...


Hi

I am having one folder with set of text files now i want to
read and write that text files data into QTP. Any help
plsss.



Hi I am having one folder with set of text files now i want to read and write that text files d..

Answer / gyanesh ranjan rout

Dim fso,f
Set fso=createobject("scripting.filesystemobject")

Set f=fso.OpenTextFile("c:\text.txt", 2, True)
f.Write("how r u")

Set f=fso.OpenTextFile("c:\text.txt", 1)
readalltextfile= f.ReadAll

msgbox readalltextfile

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

What methods are used to create text files and open text files in the vbscript language?

0 Answers  


hi, How will write a regular expression of date in VB scripting.

1 Answers  


How to make sure that items in a wintree are sorted al?

0 Answers   Ness Technologies,


How to generate 3 digit random number?

3 Answers   IBM, Virtusa,


write any ttest cases using check points and parameterization

0 Answers  


how to check whether link is disabled in QTP??

0 Answers  


What are class properties?

0 Answers  


what is the difference between modular and data and keyword driven framework

0 Answers  


How should i Create Email invite with server-side Coding?

0 Answers   Altair,


Join the multiple array with out using JOIN function

1 Answers  


Difference between Function and Sub routine?

0 Answers   Polaris,


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

0 Answers  


Categories