Hi guys,
Thanks for the suggestions.
@Gunner: I attached a custom offline stylesheet; this does not use any http:// urls (so styles and images are local)
@Ciege: 1) to 4) are already, more or less, in our pipeline, so the new reports will have a (collapsible) tree structure and some kind of global summary (e.g. pass/fail/skip/block). The color schemes are a good idea; so basically you should be able to add a custom color mapping for given category name, right ?
@Dirk: Unfortunately, to do this, you need to jump through some hoops and do something like this:
Use
Report.LogHtml(..., BuildMsg("Your regular message", GetLine()))
with
string BuildMsg(string msg, string line)
{
return "<![CDATA["+msg+"]]>"+"<linenumber value=\""+line+"\"/>";
}
string GetLine()
{
StackFrame sf = new StackTrace(true).GetFrame(1);
return sf.GetFileName()+":"+sf.GetFileLineNumber();
}and in the stylesheet, add a value selector for your new column:
- Code: Select all
<td>
<xsl:value-of select ="./linenumber/@value"/>
</td>
You can add other custom information this way.
Cheers,
Michael
Ranorex Team