Posts: 19
Threads: 5
Joined: Aug 2009
Reputation:
0
04-08-2010, 09:11 PM
HI All,
I am planning to write reports in HTML as per the client request, he wants to see only results in a table and result should be either pass or fail.
Could you please help me in understanding the concept of Customized HTML reports in QTP, I was able to create table structure in HTML, but not sure where to embedd this code in QTP script or should I invoke any VBS file, Please help me with sample code "Highly Appreciable"
Thanks for your precious time and knowledge sharing...!!!
Thanks,
Azeem
Posts: 25
Threads: 2
Joined: Jul 2009
Reputation:
0
05-28-2010, 12:52 AM
When I used in TestPartner, what I did was I logged the information to a log file, then when the script was done, I converted that code to HTML. You could probably do the same thing in QTP.
Posts: 4
Threads: 0
Joined: Apr 2010
Reputation:
0
05-28-2010, 11:47 AM
HI Azeem ,
I dont know whether it helps u or not.
But one thing In QTP Test Results window you can find VIew>> filter option >> where u can select checkboxes which are only pass or fail etc. & then go to File>> Export to HTML to ur Specific location.You can get the reports right
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
05-31-2010, 01:20 PM
Load your functions to the vbs and then execute it on qtp. or primitively you can just paste the code on qtp and execute it. Ultimately either way you should see the results on html.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 2
Threads: 1
Joined: Jul 2010
Reputation:
0
07-07-2010, 04:02 AM
hello,
I have one question, after the test performed in case of error in the result
appears that the object has an error, the reason and parameter.
How to export it to excel in the case?
thanks
Mark
Posts: 18
Threads: 1
Joined: Aug 2012
Reputation:
0
08-29-2012, 09:57 PM
This Two Years old Post and still works for me.
I have question can we add Jquery in report ?
Posts: 1
Threads: 0
Joined: Feb 2013
Reputation:
0
02-26-2013, 03:22 AM
I am trying to understand the process of creating HTML Reports in QTP. So we have executed the testcases written in Excel and now trying to generate the report in HTML using QTP. Can some one please help out!
I want to know how to write in QTP the following
-Be able to read the data in Excel - all the testcases excuted and then generate report in HTML.
Posts: 1
Threads: 0
Joined: Jun 2013
Reputation:
0
06-17-2013, 04:19 PM
Hi,
How to use the above script for my project?
Posts: 323
Threads: 8
Joined: Nov 2011
Reputation:
4
06-22-2013, 10:32 AM
(This post was last modified: 06-22-2013, 10:35 AM by vinod123.)
instead of using the script try this registry tweak
HKEY_LOCAL_MACHINE\Software\Mercury Interactive\QuickTest Professional\Logger\Media\Log and modify Active DWORD from 0 to 1 This will create a folder with name log it will save a html file for the report. This will save ur time