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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Problem with XML checkpoint in QTP ?

3507


What is post recovery scenario?

1653


How does qtp identify objects in the application?

587


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1283


ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS

1528






Mention the different actions types of qtp.

575


Who uses qtp tool?

579


what is the difference between built-i function and In-built function?

1637


Hi ,Can any one pleas explain how to test splash objects using QTP?

1909


I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.

3571


How do you create regression test packs?

613


what is error and fault in terms of software quality?

1461


Explain calling sub procedure.

624


What is the short cut keys for the following?

650


How may types of defects identify application or your currently working application?pls give me answer..

1517