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
Tell me how can you switch back from a frame?
Hi, I want to learn DataBase Testing. So please some document or path so that i can get some material on DataBase Testing concepts (preferably SQL Server 2000). Thanks in advance, Guru
When do you prefer manual testing over automation testing?
Can you explain me what is object repository?
Tell us the line of code webdriver driver = new firefoxdriver();.?
Tell us which package can be imported while working with webdriver?
How to login into any site if it's showing any authentication pop-up for username and password?
what r the diffence between QTP 8.2 & QTP9.0?
I am testing a GIS based application so Can anyone tell me which automation testing tool is best for this application?
What type of scenarios can't be automated?
What are the disadvantages of Hybrid framework
how to map requirements& test cases in quality center ???
Name the frameworks that are used in software automation testing?
suggest me the free online books on software testing?
On what factors can you map the success of automation testing?