How to export data present in Datatable to an ".xls" file?
Answers were Sorted based on User's Feedback
Answer / pavi
DataTable.Export("Path of the sheet")
or DataTable.ExportSheet("Path of the sheet",Index of the
runtime datatable u want to export")
| Is This Answer Correct ? | 1 Yes | 1 No |
how do u create new test sets in TD
what are the principles of good testing scripts for automation?
Why we load add-ins in qtp?
What is the difference between Call to Action and Copy Action?
in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser
Syntact for how to call one script from another? and Syntax to call one "Action" in another?
if interviewer asked about the framework used for automation how we will handle the question..means what should be the answer..plz help..which framework u r used in our company?
Can I import a excel sheet in Action1 datatable? How?
What is QuickTest Automation Object Model? Where we can use AOM?
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
what is option explicit? what is the use of it?
Is qtp supports uni-code?