Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Results to Excel Sheet
#1
Not Solved Question 
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"
Reply
#2
Not Solved
Dearbfakruddin,
Do you mean external excel sheet ?
or Runtime Datatable ?
Reply
#3
Not Solved
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.
Reply
#4
Not Solved
Hi,
Use DataTable.Export or DataTable.ExportSheet accordingly.
Reply
#5
Not Solved
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.....
Reply
#6
Not Solved
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.
Reply
#7
Not Solved
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.
Reply
#8
Not Solved
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
Reply
#9
Not Solved
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.
Reply
#10
Not Solved
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to create List box in excel sheet at Run time with values yes No JACKSPARROW 0 1,594 01-17-2017, 11:05 AM
Last Post: JACKSPARROW
  Custom sort -Excel Sheet kiran 1 3,695 01-28-2014, 09:23 AM
Last Post: supputuri
  Can we save an exported Excel sheet directly from QTP? Akhila 2 3,143 11-28-2013, 10:30 AM
Last Post: Akhila
  Excel to HTML results keerthi286 1 2,568 04-19-2013, 08:21 AM
Last Post: basanth27
  How to identify the object reference to the existing(already opened) Excel sheet yogeesh 1 9,772 09-26-2012, 07:00 PM
Last Post: krr

Forum Jump:


Users browsing this thread: 1 Guest(s)