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 is test tool?

578


How to decide the tool that one should use for automation testing in their projects?

569


Does automation testing have any disadvantages?

561


How do you select which automation tool is best suited for you?

536


How do you plan test automation?

1463






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.

1443


What all things can you automate?

582


How is Jmeter tool very useful in projects when it does not have features like online monitoring,WAN emulation,caching like other performance tools.

1954


Tell us how can you find if an element is displayed on the screen?

518


Tell us what is the difference between @factory and @dataprovider annotation?

524


What are the advantages of automation testing?

541


I am surekha new commer for this site? I have some doubt's pls clarify it..... I finished my B.tech and S/w Testing Course Now iam searching for a job in Testing, I did not have any experience in real time projects. Any body can send me the sample Testcases,Srs,Matrix for Banking,ERP Projects etc.Here is my email id surekhai@yahoo.com

3831


how to know whether the user information or any other information which is entered in to the web is storing in secured place or non secured place?

1574


pls tell me any open source test case managment tool ? its urgent.also tell me any autmation testing tool also for functional testing?

1694


Differentiate between hdam and hidam database?

560