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 want to know how to execute the descriptive programming in qtp for the webedit object which does not contain attached text property. but i have checked it with name and html id property. Even though it is not executing. it is giving error in object's physical description.

2 Answers  


what is the diffrence between script and Language ? (Chandana)

6 Answers   Cognizant, Wipro,


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

0 Answers  


What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?

0 Answers  


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

0 Answers  






How can I pass values from one action to another in QTP ?

8 Answers   Ordain Solutions,


How to automate the windows dialog box which is coming in the run mode? Whenever I run my scripts,I am getting dialog box ( for ex: Pls enter zipcode" eventhough I already entered the value,the dialog box pops up).I need to click it. Pls give some idea-How to automate the dialog box which is pop up in the runtime.

2 Answers  


Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...

0 Answers   Bank Of America,


What is debugging? How you debug your script?

0 Answers  


How to add a page checkpoint to your test?

1 Answers  


In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?

4 Answers  


Tell me about qtp?

0 Answers  


Categories