-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Currently entries that are written to the log from within OnTestFailure are written between the "Initializing Test Completed Succesfully" separator and the "Cleanup Test" separator, which makes it look like it was written from within the test itself.
Below is an example of the current state. The line at 14:12:16:713 (starting with "Current window handle...", is written from within a OnTestFailure method:
Test Name: FullReportPerVehicleIsDisplayedCorrectly
Test Outcome: Failed
Result Message: Assert.IsNotNull failed. No row with moving vehicle found
Result StandardOutput:
14:11:47.003 ***************************** Initializing Assembly *****************************
14:11:47.004 ***************************** Initializing Assembly Completed succesfully *****************************
14:11:47.009 Tests started: 28/03/2017 14:11:47
14:11:47.009 ***************************** Initializing Test *****************************
14:12:00.939 ***************************** Initializing Test Completed succesfully *****************************
14:12:16.713 Current window handle: CDwindow-0c951629-2cfa-4fba-ac88-a36932f52719
14:12:16.920 ***************************** Cleanup Test *****************************