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 are the abbreviations for tsr and mtr?

17 Answers   Ordain Solutions, TSR,


Write the Test Cases for ATM(Any Time Money)

3 Answers   SpaceLabs,


i don't have any experience in qtp? Can u please tell me What work i have to do?

4 Answers  


Hi, i am rani ,i am putting 1+years of fake exp ,so pls anyone explain how i get project (in real time) ? how it is tested ex: in banking ,test the number of textboxes in one window

3 Answers  


What VBScript operators, functions, and statements do you use in QuickTest Professional?

0 Answers  






What are advantages of test automation?

0 Answers  


i am trying to capture the URL from the open browser and store it. pls give me solution how we can do this in QTP. thanks

2 Answers  


wt is the difference between global and action excel database in qtp?for example one action is calling another action the second action is using action excell sheet?if it is using global sheet what makes the difference?

2 Answers   Datamatics,


Please can you give where can we get good QTP Training at Hi-Tech city Hyderabad?

10 Answers  


If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP

0 Answers   HP,


What is the difference between Action and Function.? when both has the same functionaltiy, when do we choose Action and when do we choose Function..??

3 Answers   DST Global Solutions,


How to use setroproperty?

0 Answers  


Categories