A sample code from some previous post :

Dim fso,f,wr
Set fso = CreateObject("Scripting.FileSystemObject")
If (fso.Fileexists("C:\log.html")) Then
else
fso.createtextfile ("C:\log.html")
End If
html_logger = "C:\log.html"
environment.value("htmllogfile") = html_logger
Set f = fso.getfile("C:\log.html")
set wr = f.OpenAsTextStream(8,-2)

wr.writeline "<A Name="&chr(34)&"Head"&chr(34)&"><h1> Automation Status
Summary Report </h1></A>"
wr.writeline "<br><br><br><h5><u>Release</u></h5><br>"
wr.writeline "<h5><u> Build</u></h5><br>"
wr.writeline "<h5><u> URL</u></h5><br><br>"
wr.writeline "<hr>"
wr.writeline "<style type=text/css>"
wr.writeline "body {"

On Tue, May 25, 2010 at 4:10 AM, anuj gupta <[email protected]> wrote:

> i dont think so that i require any printer setting to generate the report
> in HTMML
>
>> Thanks & Regards
>> --------------------------
>> Sravan Kumar J.
>>
>>
>> On Tue, May 25, 2010 at 2:03 PM, mahima mendu <[email protected]>wrote:
>>
>>> From Test Results window
>>>
>>> Select File > Export Report > select file type as "HTML" from Export
>>> Report window > Click on "OK"
>>>
>>> On Tue, May 25, 2010 at 1:50 PM, Suresh Bhandari <
>>> [email protected]> wrote:
>>>
>>>> Hi Mahima,
>>>>
>>>> Please share, how can we generate html reports using qtp.
>>>>
>>>>
>>>>
>>>>
>>>>  On Tue, May 25, 2010 at 7:15 AM, mahima mendu 
>>>> <[email protected]>wrote:
>>>>
>>>>> yes, it is possible
>>>>>
>>>>>
>>>>> On Tue, May 25, 2010 at 11:09 AM, sravan <[email protected]>wrote:
>>>>>
>>>>>> Is it possible to generate html reports using qtp?
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>>>>> group.
>>>>>> To post to this group, send email to [email protected]
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected]<mercuryqtp%[email protected]>
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>>>> group.
>>>>> To post to this group, send email to [email protected]
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]<mercuryqtp%[email protected]>
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>>>
>>>>
>>>> --
>>>>  You received this message because you are subscribed to the Google
>>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>>> group.
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]<mercuryqtp%[email protected]>
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]<mercuryqtp%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<mercuryqtp%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>
>
>
> --
> Anuj Gupta
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<mercuryqtp%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>



-- 
Regards,


Ganesh Muralidharan

'God Never Forgets'

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to