Currently I am planning to add some extra information to the Report Lines in my code. Due to that I have decided to implement a new function on the side that will be in charge of doing it. The issue is that now the Ranorex Report will always send me to that function when I click on "Jump To Item" instead of sending me to the line of code that I need.
I think it will be easier to explain with an example
Utils Class.
Code: Select all
public class MyLogger
{
public static bool logginRequired = false;
public static void doLogging(msg)
{
if (logginRequired)
{
string modifiedMsg;
//DO SOME STUFF TO THE MESSAGE
Report.Info(modifiedMsg);
}
}
}
Code: Select all
public class MyModule : ITestModule
{
void ITestModule.Run()
{
//DO SOME TESTING
MyLogger.doLogging(myMsg);
}
}
Thanks in advance for your help.
David