Page 1 of 1

Add an "html link" in a Report action

Posted: Fri Jul 06, 2012 3:53 pm
by swmatisa
WinXP SP3 (WindowsUpdate done)
Ranorex 3.3.0
*********************************
Hello,

In the Ranorex report, I need to write a log message to give a link to an internal data result file (hyperlink). Any idea?

Regards

Re: Add an "html link" in a Report action

Posted: Tue Jul 10, 2012 7:59 am
by Support Team
Hello,

You can use the following method in the UserCode to add a link to your Report.
Report.LogHtml(Ranorex.ReportLevel.Info, "Info", "<a href='http://www.ranorex.com'>Ranorex</a>");
Regards,
Bernhard
Ranorex Support Team

Re: Add an "html link" in a Report action

Posted: Tue Jul 10, 2012 9:15 am
by swmatisa
It works.

Thanks

Re: Add an "html link" in a Report action

Posted: Wed Oct 31, 2012 5:22 pm
by omayer
Where do I insert this method , since i do have multiple methods that i call to run the test,
Thank you

Re: Add an "html link" in a Report action

Posted: Thu Nov 01, 2012 9:14 am
by swmatisa
Hello,
omayer wrote:Where do I insert this method , since i do have multiple methods that i call to run the test,
I am not sure to understand the question.

You can call this method in Usercode each time you need to report an information with an "html" part.

Regards
Hope this helps