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

How to write output data to a file (txt,csv,excel) using
Test complete automation tool?

Answer Posted / jacob baby

Please use the below code:

aqFile["Create"]("C:\Output.csv");
aqFile.WriteToTextFile("C:\Output.csv","Hello \n
World",20,false);

//aqFile.WriteToTextFile("<FilePath>", "StringToWrite",
//TextCodingType, Replace)

//TextCodingType:
//aqFile.ctANSI 20 ANSI
//aqFile.ctUnicode 21 Unicode (UTF-16)
//aqFile.ctUTF8 22 UTF8

//Replace:
//Default value: False

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main differences between Loadrunner and QTP tools? Describe briefly a "real world" scenario that would make you use the first one versus the other? Thank you for your answers....

2907


Where you have applied oops in automation framework?

1130


what are the steps followed in unit testing, system testing, integration testing

2049


Tell me how can you switch back from a frame?

987


Explain me how do you send enter/tab keys in webdriver?

956


what is GDC

2175


why we cannot apply check points in compile modules?

2215


I want a code for a following item in TSL Language. Look up a person in database, If not found, add person to the database.

1930


Why automation testing?

1075


What are the references for TSL functions.? Could anybody suggest me recommended book for Test Script Language.

2159


5. What are the tests you are conducting through winrunner?

2440


What is vendor tool and give examples?

1086


how to re-install QTP 11.0 trial version

2669


What is a framework and what are the frameworks available in rc?

1062


Do you know what is robot api?

1004