Ranorex Reporting with Format
Posted: Thu Jun 15, 2017 10:48 am
Hello
Currently I am polluting my report with a lot of messages and that makes things hard for debugging and error finding. My idea now is to format my messages in more readable way. Therefor I would like to use the new line command.
I have noticed that during that during the test run the "/n" works fine, but later it is not shown in the Report.
Window during test run: Test Report: The Code I used:
So how can I make a new line in a report message? My goal is it to create a new reporting class which allows me to collect a chunk of messages and pack them into one report message with some nicer formatting. So it will be easier for the reader to categorize stuff.
Thanks
Utrehd
Currently I am polluting my report with a lot of messages and that makes things hard for debugging and error finding. My idea now is to format my messages in more readable way. Therefor I would like to use the new line command.
Code: Select all
"/n"
I have noticed that during that during the test run the "/n" works fine, but later it is not shown in the Report.
Window during test run: Test Report: The Code I used:
Code: Select all
Ranorex.Report(ReportLevel.Success, "Correct State was found in point: \n \n \n \n \n asdasdasds \n \n \ndasd");
So how can I make a new line in a report message? My goal is it to create a new reporting class which allows me to collect a chunk of messages and pack them into one report message with some nicer formatting. So it will be easier for the reader to categorize stuff.
Thanks
Utrehd