hi again, i would like to know how can i make a if condition to verify if all the Ranorex.Validate.. points were passed or failure to output a message ate the end of the report with the a message like "Test Passed" or "Test Failed" instead of the default Message Success Replay completed with no errors.
I imagine to do the if claus on the Recording1.cs but i saw that the code will be lost.
Manage Log Reports
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Manage Log Reports
Hi!
No in recording.cs you cannot change the default message on failure and success.
The only way to change this in recording is to write your own logger.
But you can use the methods
Regards
Peter
Ranorex Support Team
No in recording.cs you cannot change the default message on failure and success.
The only way to change this in recording is to write your own logger.
But you can use the methods
//Logs a logical success (e.g. test step success) message, using the default category. Report.Success();and
//Logs a logical failure (e.g. test step failure) message, using the default category. Report.Failure();in main method.
Regards
Peter
Ranorex Support Team