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
I am fresher and i have completed my software testing course and i don't have real time experience,can anybody help me regarding financial domain projects,main testcases in that domain.
In what condition we cannot use automation testing for the agile method?
5. What are the tests you are conducting through winrunner?
Please explain what is the hybrid framework?
Tell me the fundamental difference between xpath and css selector?
What is hybrid automation?
HOW CAN WINRUNNER AND TEST DIRECTOR CONNECTED TO THE DATABASE AND WHAT R THE OPTIONS?
hi, I want to study TIA portla V11. where can I get online courses?
Where will you maintain information like url, login, password?
What is the purpose of deselectall() method?
Mention a few good practices while performing automation testing.
What are the main attributes of test automation?
Differentiate between hdam and hidam database?
What are Keyword and Data driven frameworks in Selenium RC
Describe some problem that you had with automating testing tool.