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

How would you directly trigger javascript in a test?

1668


Which recording modes need more memory?

810


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

1941


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

1717


Name the properties you would use for identifying a browser and page when using descriptive programming?

749


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

794


Does QTP run in any environment?

817


Why do we use breakpoints in QTP?

803


what is supply chain management?

2329


How you can write contexts to text file in qtp?

793


Explain the new feature of UFT regarding the export of test results?

788


What is Port testing. Whhen will you perform?

1699


give me an example where u used good judgement and logic in solving a problem

3564


In qtp, how you can exit for loop?

723


How software automation specialist enter steps in the Expert View?

1877