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


Please Help Members By Posting Answers For Below Questions

Explain me how do you send enter/tab keys in webdriver?

616


What is a critical bug in a testing field?

648


4. How we implement Winrunner,in our project?

2083


We have a testing assignment that is time-driven. Do you think automated tests are the best solution?

1763


How could you explain the main difference between webdriver and rc?

612






Why do you prefer selenium automation tool?

656


Where will you maintain information like url, login, password?

1583


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}?

1861


What is the scripting standard while performing automation testing?

752


Can we prioritize tests in Junit. What is the sequence of execution in Junit?

1517


Is automation testing a black box testing or white-box testing?

611


Elaborate the scripting standard while executing testing

606


Do you know what is robot api?

648


What are the disadvantages of Hybrid framework

5791


How do you decide which tool you have to use?

665