How to write output data to a file (txt,csv,excel) using
Test complete automation tool?
Answers were Sorted based on User's Feedback
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 |
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 |
i want to pass parameters with some values in the same test. How to call the parameters in the test and to associate it
What is the purpose of getoptions() method?
What is meant by the automation framework?
Please explain what is the difference between findelement () and findelements ()?
I am using the selenium tool for my web application testing I recorded some script and agian i played same but while playing: Alert msg is not getting closed It needs the manual interaction [Note:Here alert is generated not at the time of onload event] Please provide some solution for this
In general, how do you see automation fitting into the overall process of testing?
what are categories in step generator?
Hi, Can anyone please tell me which Test Automation tool can be used for : 1. Web based testing 2. .Net (C#) applications 3. Mobile applications (PDA)
I want online Training for selenium web driver. please can you send any details?
what is 2 tier and 3 tier application.
What is vendor tool and give examples?
How you will describe testing activities?