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
Explain me how do you send enter/tab keys in webdriver?
What is a critical bug in a testing field?
4. How we implement Winrunner,in our project?
We have a testing assignment that is time-driven. Do you think automated tests are the best solution?
How could you explain the main difference between webdriver and rc?
Why do you prefer selenium automation tool?
Where will you maintain information like url, login, password?
test cases test wheather window? test cases to test calculaor? test cases to test a reverse string program? test cases to test program{ int.parse(sting str) $return (int)}? test cases to test program{display string length}?
What is the scripting standard while performing automation testing?
Can we prioritize tests in Junit. What is the sequence of execution in Junit?
Is automation testing a black box testing or white-box testing?
Elaborate the scripting standard while executing testing
Do you know what is robot api?
What are the disadvantages of Hybrid framework
How do you decide which tool you have to use?