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

write the vb script for call to new action in qtp?

0 Answers  


hi i have one doubt i have 4 yrs exp in testing and iam working one mnc in north but i have completed my degree correspodene is the companies are accept in south side some people are tellig they won't agree but i need correct answer plz let me know which companies are taking and not taking thanks in advance

8 Answers  


who will distribute the project modules for testing in testing team ?

2 Answers  


If I change the object name in one action will it be updated in all the actions? Or not?

0 Answers  


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

0 Answers   Mindlance,


How does qtp identify the object in the application?

0 Answers  


What is the extension of the recovery scenario file in qtp?

0 Answers  


What is the D/B Test managemet tool and bug trcking tool? Ans send to pbr.qtp@gmail.com

1 Answers   Cap Gemini,


How many types of status are there?

0 Answers  


What is the default object synchronization timeout in qtp?

0 Answers  


1. Which function is used to check whether the specified object property achieves the specified value within the specified timeout below anyone is correct 1. Check Property 2. getToproperty 3. output Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


Get the count of files of similar types from a folder.

0 Answers   Deloitte,


Categories