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 will you automate basic “login” functionality test cases for an application?

0 Answers  


What are the main differences between Loadrunner and QTP tools? Describe briefly a "real world" scenario that would make you use the first one versus the other? Thank you for your answers....

0 Answers  


What is the purpose of the wrun.ini file?

0 Answers  


Any quality test-tracking tool which has live & automated dashboards so that the entire team is updated at any given point of time?

1 Answers  


How do you select the 2nd item in a List box or drop down through selenium RC (Java)

2 Answers  






What are the important modules of an automation testing framework?

0 Answers  


in VSS, what is meant by check out and check in?

8 Answers   COG, Vmoksha,


What is a xpath?

0 Answers  


default time for executing 1000 lines of script in winrunner and also in qtp.

3 Answers   Accenture,


What generally is the structure of a framework?

0 Answers  


How you will describe testing activities?

0 Answers  


can any one tell me the examples of white box testing

0 Answers  


Categories