The code below adds the name of the Windows logged in user to the Custom Report:
Code: Select all
<xsl:value-of select="@user" />
Thanks!
Code: Select all
<xsl:value-of select="@user" />
var act = Ranorex.Core.Reporting.ActivityStack.Instance; act.CurrentActivity.CustomProperties.Add("MyProperty", "MyValue");That property can then be addressed within your XSL file:
<xsl:value-of select=".//custom/@MyProperty"/>Hope that helps.
Sorry, but I'm not familiar with how to do that. Where can I get more info on that?RobinHood42 wrote:...You would need to add a custom property to the activity stack...