Search code examples
extentreports

How to get the test step details from ExtentReport


I have a automation suite which is using TestNG ExtentReport.. I need the same step to be updated in the test rail..

Is there anyway that we can extract the string value from ExtentTest to post in test rail as a comment..

Thanks, Chandra


Solution

  • You can use the underlying domain to extract any information available to it:

    test.getModel()