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 |
How will you choose a tool for test automation?
has anyone attended mr. g c reddy sir classes? whom you guys want me to choose Mr. G C Reddy or Mr. Suresh Reddy ? Please help!!!!!!!!!!!
What are the different types of scripting techniques for automation testing?
What are the challenges using QTP11, QC11 with SAP TAO?
What is vendor tool and give examples?
Difference between winnrunner and qtp?
What criteria do you use when determining when to automate a test or leave it manual?
How do i startup with Remedy testing tool. Couldnot able to find any links for startup. Please help me to startup with this remedy tool.
Do you know how to verify if the checkbox/radio is checked or not?
Describe any bug you remember?
On Test Complete I recorded some keyword test. while I'm running the batch test, if one test case failed, then how test complete skip the failed test case and again continue to run the test case? please provide some way to resolve this issue.
How to download QTP 9.5 Trail version? please explain the complete process?