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

I have written some scripts in QTP by using older version, but I want to run them in latest version. Is there any process to do that.If so can anyone explain me?

1 Answers  


what is the frame work in J-meter?

0 Answers  


Hi, My application is a web application which was developed by Java. In that application we have applets to do some operations. Is it possible to recognize applets using QTP? If yes, how? pls, help me this

1 Answers  


How to capture text from image to word

2 Answers  


In QTP 8.2 there are lot of check points is this same in latest version QTP 9.5 ?

2 Answers  






How can i initiate the objects to find uniquely in OR

0 Answers   IBM, Livetek,


How many add-ins comes by default with quicktest professional (qtp)?

0 Answers  


If created one virtual object? Next time I changed the window position will it work?

0 Answers  


why we are using environment variables instead of global variables?

1 Answers   TCS,


Mention what are the different types of recording modes in qtp? Which will be used when?

0 Answers  


How to perform action on objects, If two objects have the almost the same name ? example : Object 1 : "Entry of Items" Object 2 : "Items" Whenever I ask QTP to perform an action on Object 2 it performs action on Object 1. Note: The two objects are present in an Oracle Application tree.

2 Answers   Wipro,


How you know that a test case is a regression test case

1 Answers  


Categories