05-07-2011, 02:33 AM
Hi Saket,
Is it possible to remove the html tag from left pane of result page?I have attached the screenshot.I want only the object name("Custom Report Example")
For this I am using this code,
Is it possible to remove the html tag from left pane of result page?I have attached the screenshot.I want only the object name("Custom Report Example")
For this I am using this code,
Code:
Function CustomReportEntry(strStatus, strStepName, strMessage)
Set objDict = CreateObject("Scripting.Dictionary")
objDict("Status") = strStatus
objDict("NodeName") = strStepName
objDict("StepHtmlInfo") = strMessage
objDict("DllIconIndex") = 206
objDict("DllIconSelIndex") = 206
objDict("DllPAth") = "C:\Program Files\HP\QuickTest Professional\bin\ContextManager.dll"
Reporter.LogEvent "User", objDict, Reporter.GetContext
End Function
CustomReportEntry micPass, "<font color='green' ><b>Custom Report Example</b></font> ", " <font color='green' ><b>This is a custom report entry!</b> </font> "