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 |
How will you automate basic “login” functionality test cases for an application?
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....
What is the purpose of the wrun.ini file?
Any quality test-tracking tool which has live & automated dashboards so that the entire team is updated at any given point of time?
How do you select the 2nd item in a List box or drop down through selenium RC (Java)
What are the important modules of an automation testing framework?
in VSS, what is meant by check out and check in?
What is a xpath?
default time for executing 1000 lines of script in winrunner and also in qtp.
What generally is the structure of a framework?
How you will describe testing activities?
can any one tell me the examples of white box testing