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 can a mainframe application be tested using Automation tools. I mean which is the best tool to do Mainframe testing?

2 Answers   GE, Xansa,


What are the most popular tools for automation testing?

0 Answers  


What is the major difference between Functional test, Acceptance test, Usability test and performance test. With special reference to automotive domain

0 Answers  


Describe common problems of test automation.

0 Answers  


Which protocol cam be used to makw jdbc connection woth loadrunner

0 Answers  






Tell us what automation tools could be used for post-release validation with continuous integration?

0 Answers  


Tell me what databases can test director reside on?

0 Answers  


I have a web page.In that i have two links called "gmail" and "gmail". Both links are look same.One link is at top of the page and other link is at bottomn of the page. How the automation tool can be recognized these link and make to click the link i want?

5 Answers  


i need test cases for defect maganement tools

0 Answers  


Can anybody tell me the any open source automation testing tool for functional testing to test web based application.? pls suggest its urgent.

2 Answers  


Can test automation improve test effectiveness?

0 Answers  


you have any interaction with clients?

2 Answers   Mind Tree,


Categories