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 |
What automating testing tools are you familiar with?
WHAT IS TEST SCRIPT AND HOW DO YOU CREATE IT?
If I have given names to different DataTable columns and those column names are stored in a variable, then passing that variable to the datatable how can i Enter different values in those columns listed in that variable?? Please explain me with an example.I am not getting it.
Who is the best faculty for Automation testing in hyderabad
What do you think holds testers back to do automation? Is there a way to overcome it?
is anybody suggest me which one is the best testing institute in ameerpet hydrabad
did anybody take online training from Mind Q systems hyderabad? please share your experience. thanks
Tell us how can you create html test report from your test script?
what are the steps followed in unit testing, system testing, integration testing
hi friends.....please help me...i have very ambiguity which one be selected between selenium or ETL-TESTING..
How will you automate basic “login” functionality test cases for an application?
What are the 5 common software development problems solutions?