Re: Customise color of details in Reporter.reportevent
I don't whether there is an option to change the color directly but what I will do is I will convert the xml into HTML. While converting the file into HTMl you will have the you can see the css file named PResults.css. There apply the below color refresh and check the html report again the specified color will be applied.
Re: Customise color of details in Reporter.reporte
This should help you. just make sure that the path of the html is accable to all that want to read it.
<font class="small">Code:</font><hr /><pre>
sFile = Reporter.ReportPath & "\ClearSerachField.html"
Set FSO = CreateObject("Scripting.fileSystemObject")
Set file = FSO.CreateTextFile(sFile, True)
file.Write "<I><B> Object Custom DP Info (For Infromation and Debugging purposes</B></I>"
file.Write "<P><B>oWindow := </B> oWindow(regexpwndtitle)<B> Set too :</B>.Message.* <B> Method :</B>(Regular Expression) "
file.Write "<P><B>oDialog := </B> oDialog(regexpwndtitle)<B> Set too :</B>Select.* <B> Method :</B> (Regular Expression) "
file.Write "<P><B>oWinObject := </B> oWinObject(attached text)<B> Set too :</B> &Search: <B> Method :</B> (Regular Expression) "
sHTML = "&lt;<IFRAME width=""100%"" height=250 src=""file:///" & sFile & """></IFRAME>&gt;"
Reporter.ReportEvent micInfo, "ClearSerachField Function", "could not locate the Serach Field to clear see Info"
Reporter.ReportEvent micInfo, "ClearSerachField Function info", sHTML
Set file = Nothing
Set FSO = Nothing