08-12-2009, 05:53 PM
It seems that you are not looking QTP Help thoroughly!!!
It's an inbuilt feature from QTP, you don't need any script to do this.
The only thing you need to do is set some registry values.
Go to registry key - "HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest Professional\Logger\Media\Log"
set the value for "Active" value to 1 (which is 0 by default.)
This will create a parallel result in HTML while your script is running. Along with the normal QTP Result, one Log folder will be created in your result path's Report folder which will contain the HTML report step by step.
It's an inbuilt feature from QTP, you don't need any script to do this.
The only thing you need to do is set some registry values.
Go to registry key - "HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest Professional\Logger\Media\Log"
set the value for "Active" value to 1 (which is 0 by default.)
This will create a parallel result in HTML while your script is running. Along with the normal QTP Result, one Log folder will be created in your result path's Report folder which will contain the HTML report step by step.