In Ranorex Studio, I was able to set up the report file to my liking:

However, when I write code from Visual Studio and I use the Ranorex API, it doesn't generate reports anywhere.
I've tried to use the following code, but it generates an .html file that only contains <message> tags. I would like to have the same kind of reports as in Ranorex Studio.
Code: Select all
string log_name = "RanorexKinSync_" + System.DateTime.Now.ToString("yyyyMMdd_HHmmss");
Ranorex.Report.Setup(ReportLevel.Info, log_name + @"\" + log_name + ".html", true);