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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / rathish.m.m

You need to work with Excel by using its COM object. test
Complete Support MSOffice operation using its corresponding
COM object

Requirements:
Microsoft Excel with VBA support must be installed
on your computer.
The Utilities plug-in must be installed in
TestComplete.

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More Automation Testing AllOther Interview Questions

how we start automation testing in company?is there any document for it?what are the differnt fields contains in Automation plan?

1 Answers   IBM,


HOW DO YOU PERFORM SECURITY TESTING TO VERIFY FIREWALLS,PASWORD ENCRYPTOPNS ETC?

0 Answers  


What are the phases in automation testing life cycle?

0 Answers  


Give some examples for functional & regression test tools?

0 Answers  


what is 2 tier and 3 tier application.

3 Answers   Value Labs,


Tell us what is the difference between single slash (/) and a double slash ( //) in xpath?

0 Answers  


What are the limitations of automating software testing?

0 Answers  


What is Ticketing tool? Has it any other names? What is the purpose of this?

0 Answers  


Elaborate the fields in bug report in automated testing

0 Answers  


Hello, Is there any source from which i can get any live tutorial or trial of Automation tools?? Also i have a query that is there any certification course or exam available for Automation tools QTP and QC?

0 Answers  


What are pros and cons of automating tests at ui layer?

0 Answers  


Hi all I need QA automation testing interview questions. pls help me in this topic. The interview is related to verification & validation of web based products. ( i want questions based on this topic ) where can i find interview questions realated to this? This is urgent requriment for me. pls share your inputs. any kinda help appreciaed. warm regards Lina.

0 Answers   Rogers,


Categories