How to write output data to a file (txt,csv,excel) using
Test complete automation tool?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / rathish.m.m
You need to work with Excel by using its COM object. test
Complete Support MSOffice operation using its corresponding
COM object
Requirements:
Microsoft Excel with VBA support must be installed
on your computer.
The Utilities plug-in must be installed in
TestComplete.
| Is This Answer Correct ? | 3 Yes | 4 No |
WHAT IS TEST SCRIPT AND HOW DO YOU CREATE IT?
How do you select the 2nd item in a List box or drop down through selenium RC (Java)
How will you choose a tool for test automation?
Can object repository be kept in version control and Database(DB) backed up daily ?
how to connect qtp to qc. what are the steps ?
When will you not automate testing?
What automated tools are you familiar with?
What is the major difference between Functional test, Acceptance test, Usability test and performance test. With special reference to automotive domain
what is the importance of action in QTP & When it need to use it ? I m getting it please expian it me with proper example.
What is mean by ARGO testing? Can you please explain anyone
i am living in pune.from 2 months i am searching s/w testing class.but i am confuse which is the good.please send me reply who complete their testing course..i want where teaching is very good & give real project.because many insti.assured placement & real time project,but after addmission it will not be true.so send me reply.i also confuse where i put my query.i hope so,will get reply soon
How can we make one test method dependent on other using testng?