title: How can I have the soft asserts that I put in my test script be reported into the ExtentReports Report, under each failed step?
body: <p>I am working with a testing framework that uses Selenium, TestNG, Java and ExtentReports for reporting.</p>
  
  <p>I have a Test script which is divided into several steps and at the end of each step I have hard asserts to validate the existence of elements that I am interacting with.</p>
  
  <p>I would like to use some soft asserts in order for my next steps to be able to continue executing, but I would also like to see in the ExtentReport Report, some failure indication for each step, not just at the step when the script fails. </p>
  
  <p>For example, I would like to see in the report something like: step1 - passed; step2 - failed (and logged exeception for cause of error), step3 - passed etc</p>
  
  <p>Currently, if I add a soft assert for an element that cannot be found at step 2 from the example above, that step is marked as passed, and I'd like it to be marked as failed, but also continue on to step 3, 4 etc. </p>
  
  <p>Does anyone know how I can do that, or provide some documentation? Any help would be much appreciated.</p>