how to recover stepName and exception from selenium results in order to fill Log(LogStatus, StepName, Exception) with C# I'm working with ExtentReports 2.41.0, and I use Selenium tool.

  • The easiest solution is to implement a BDD framework, like JBehave or Cucumber, preferably the latter since Extent Reports has a direct interface to Cucumber (A little trickier with JBehave which I use). Search their documentation for BDD – Bill Hileman Jun 22 '18 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.