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

I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

1592


Where we can use the analog mode and where we can use the low – level mode?

576


There is an excel file of 1 to 100 sheets how you will iterate through it?

538


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1440


what is keyword driven testing in qtp?n how is it useful?

1497






Explain object spy in qtp.

597


what is clean sweep?

1526


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1509


What is a recovery scenario?

579


How the smart identification is used in real time?Please explain with an example

1557


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

600


How did you use regular expressions in QTP and also in WR?

2172


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1465


banking domain description for software tester for interview

3473


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

3516