Class Attachment

java.lang.Object
com.github.invictum.reportportal.log.unit.Attachment

public class Attachment extends Object
  • Constructor Details

    • Attachment

      public Attachment()
  • Method Details

    • screenshots

      public static Function<net.thucydides.core.model.TestStep,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> screenshots()
      Logs screenshots from passed TestStep if present
    • htmlSources

      public static Function<net.thucydides.core.model.TestStep,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> htmlSources()
      Logs all HTML sources from passed TestStep if present
    • evidences

      public static Function<net.thucydides.core.model.TestStep,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> evidences()
      Logs all evidences in a test step as attachment files in RP