How to write output data to a file (txt,csv,excel) using
Test complete automation tool?
Answer Posted / 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 |
Post New Answer View All 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....
Where you have applied oops in automation framework?
what are the steps followed in unit testing, system testing, integration testing
Tell me how can you switch back from a frame?
Explain me how do you send enter/tab keys in webdriver?
what is GDC
why we cannot apply check points in compile modules?
I want a code for a following item in TSL Language. Look up a person in database, If not found, add person to the database.
Why automation testing?
What are the references for TSL functions.? Could anybody suggest me recommended book for Test Script Language.
5. What are the tests you are conducting through winrunner?
What is vendor tool and give examples?
how to re-install QTP 11.0 trial version
What is a framework and what are the frameworks available in rc?
Do you know what is robot api?