How can we export test results to an excel sheet in QTP???
Can any one provide sample coding for this?????

Answers were Sorted based on User's Feedback



How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for th..

Answer / rashmi harsha

DataTable.Export ("C:\flights.xls")

Is This Answer Correct ?    9 Yes 9 No

How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for th..

Answer / shaik

The above answers are incorrect

Is This Answer Correct ?    7 Yes 7 No

How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for th..

Answer / anand aranganathan

Syntax : Datatable.Export "PathofFile"

Example : Datatable.Export "F:\test.xls"

Is This Answer Correct ?    0 Yes 2 No

How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for th..

Answer / sha

The above answers are incorrect
While answering please write full Syntax

Syntax : Datatable.Export "PathofFile",destinationsheetname

Example : Datatable.Export "F:\test.xls",Global
Datatable.Export "F:\test.xls",Action1

Is This Answer Correct ?    0 Yes 2 No

How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for th..

Answer / srinu

Datatable.Exportsheet"path",Excel sheet name

Is This Answer Correct ?    1 Yes 5 No

How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for th..

Answer / harikumar

DataTable.Exportsheet("Path of the Excel File")

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More QTP Interview Questions

What is checkpoint in qtp?

0 Answers  


How to compare source and target database in testing? Can anybody please tell me in detail the procedure how to compare it?

1 Answers  


Sql questions to find second max salary and how to use joins

0 Answers   Deloitte,


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

0 Answers   Livetek, NIIT,


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

0 Answers  






Hi, how can we retrieve a specific value from Excel Sheet (Not datatable. for externel file).i mean to say from .xls file. and also tell me from xml file and .doc file. and how can u parameterize ur script from .xls file.(Not data table).

2 Answers   Cap Gemini,


how to add run-time parameter to a datasheet?

1 Answers   Mphasis, Ordain Solutions,


By using QTP, How do you test a frame in a web page?

4 Answers   TCS,


CAN ANY ONE PLEASE EXPLAIN DIFFERENT TYPE OF FRAMEWORKS USED IN QTP?EXPLAIN EACH OF THEM?..POST TO VANILKUMAR_1981@YAHOO.CO.IN

2 Answers  


Can you tell me QTP is support for GIS(Geography Information System) Based Software.

1 Answers  


Is it possible to change the values of analog recording?

0 Answers  


After creating testcases, how do you start testing in QTP? what methodology will follow?

7 Answers   Actran, American Well,


Categories