I am using selenium  with C#
I have Number of asserts in my test case, is there a way i can write the assert fail to a file, text file or excel.
Lets say assert fails, I want  the actual and expected to  automatically written in the Excel.
Any help will be appreciated