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
Tell us how can we handle web-based pop-up?
What are the risks associated in automation testing?
Why do you want to keep this kind of information in a separate file and not directly in the code?
How could the web element attributes be inspected in order to use them in different locators?
When will you automate a test?
List out some of the automation tools which could be integrated with selenium to achieve continuous testing.
How to Rcognize the Objects in the Web Page Dialog Using QTP
Does automation testing have any disadvantages?
What are the steps involved in the automation process ?
Is automation testing a complete replacement for manual software testing?
What are the different types of scripting techniques for automation testing?
What are the various kinds of frameworks that can be used in software automation testing?
Can any one give information on "Content Disposition" in TEST COMPLETE automation tool? mail me to pdamarakonda@smart-bridge.co.in call me to 09849423932
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.
Can you explain data-driven testing?