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

Tell us what you know about table-driven testing?

761


you have same applications (same server configaration)A&B you are doing nonfunctionality testing . what they differ in?

1824


What are the main attributes of test automation?

1774


What is mean by ARGO testing? Can you please explain anyone

1913


Hi everyone, Are you looking for "worksoft certify" automation tool training online? We have experienced corporate Worksoft certify trainers. We also provide support Worksoft certify automation issues. Please contact us Automationsolutions@yahoo.com

1377


wat is database testing....how to develop data driven framework in selenium enviromnent. please explaing in detail

1877


Tell us how to select a value in a dropdown?

802


Tell us what is junit? And what is junit annotation?

770


WHAT IS TEST SCRIPT AND HOW DO YOU CREATE IT?

2046


What is Sikuli?

824


Hello Friends, I am Looking for the Load runner-Performance testing institute in HYD. I see most of them in this site are suggesting for TS Technologies as best institute for PT load runner. We you pls suggest me, Does this institute offers good coaching on Weekend Sessions/Batches? Does it covers all the course contents in these session? Please help me on this guys..

1489


Elaborate the situation where automation testing can’t be used for agile methods?

742


what we have done after display the result in openSTA result pane.in the sense that how we send the report,what we send in report,how to know that where is error.quickly tell me the answer...please

1993


How could the web element attributes be inspected in order to use them in different locators?

797


i need test cases for defect maganement tools

1834