Posts: 146
Threads: 50
Joined: Dec 2008
Reputation:
1
01-20-2009, 07:41 PM
Hello...
How to send Results in to the Excel Sheet by scripting?
"I have to send all the results in result window to Excel Sheet"
Posts: 159
Threads: 1
Joined: Apr 2008
Reputation:
0
01-21-2009, 03:27 AM
Dearbfakruddin,
Do you mean external excel sheet ?
or Runtime Datatable ?
Posts: 146
Threads: 50
Joined: Dec 2008
Reputation:
1
01-21-2009, 01:35 PM
After running the Test Script, we will get the results in result pane rite...
that results to the excel sheet (.xls) to our desired path.
Posts: 159
Threads: 1
Joined: Apr 2008
Reputation:
0
01-22-2009, 02:21 AM
Hi,
Use DataTable.Export or DataTable.ExportSheet accordingly.
Posts: 350
Threads: 2
Joined: Mar 2008
Reputation:
0
01-22-2009, 01:44 PM
Hi Somi,
I hope you haven't got the given question clearly.
The Question is not regarding the Design Time/Run time datatable at all.
Is there any way of exporting Results from Test Results window --> Excel file ?
As we have "Export to HTML" option in Test results screen, simillarly do we have "Export to Excel" option in Test results screen.... ? This is exact Question FYI.....
Posts: 106
Threads: 28
Joined: Jan 2008
Reputation:
0
02-18-2009, 01:16 AM
We can export the result in HTML format by using "Export to HTML" option in test result screen, after exporting your result in HTML format goto the location where this file is exported or stored, open this HTML file and save it as .xls file. Now you have your test result in Excel format.
Posts: 350
Threads: 2
Joined: Mar 2008
Reputation:
0
02-18-2009, 11:00 PM
Hi NewQTP,
As per your above answer, Are you sure that we can save As HTML file into .xls file?
FYI..... Save As ".xls" option is not available for HTML file.
@ ALL : Please provide accurate answers ....as everybody are spending their valuable time inorder to view this blog.
Posts: 146
Threads: 50
Joined: Dec 2008
Reputation:
1
02-20-2009, 10:28 AM
Thanks for your answers.....!
we have one option in results window.... after running your script open your result pane and right click on results pane... There you can find export results to excel sheet....
I hope this is correct way... but it is not working properly... it is exporting to excel sheet but it is showing some warning message and not exporting to excel sheet...
please check it once in your QTP and answer....
one more thing... I have not asked the way results exporting to excel sheet... I asked the script...!
Why am I getting warning here?
What is the script to export results to excel sheet?
What is the manual way? provide full navigation...
thanks & regards
Baba Fakruddin.D
Posts: 350
Threads: 2
Joined: Mar 2008
Reputation:
0
02-20-2009, 07:42 PM
HI ,
Infact this questions comes under "Customization of test results"
As per my knowledge , you can go for following:
1) Write a user defined function for posting required results into Excel/Txt files.
2) Setting up the Logger folder in Registry editor, inorder to get the results in HTML & wil be stored in current test's 'res' folder automatically after the Test Run.
I hope there is no way for customizing the "Test Results" window/screen itself.
@Ankur : If possible , Can u put some light on to this query.
Posts: 146
Threads: 50
Joined: Dec 2008
Reputation:
1
03-03-2009, 07:11 PM
Hello,
it is okay.... My question here is the option available in resuls pane...
Right Click --> Send results to Excel Sheet...?
What about this?
thanks & regards,
Baba Fakruddin.D