title: How to create Text file and write exceptions in it automatically using Selenium WebDriver C#
body: <p>i am using selenium web-driver in c#, i want to Create a text/ log file and write exception in it automatically.
  right now i am doing testing on log in page. if i change the password then the exception should be written in text file with time stamp.</p>