Class StepDetails


  • public class StepDetails
    extends Object
    Holds the information about the current step executing at runtime.
    • Constructor Detail

      • StepDetails

        public StepDetails​(String text,
                           boolean isFailing,
                           String stackTrace,
                           String errorMessage)
      • StepDetails

        public StepDetails​(String text,
                           String dynamicText,
                           boolean isFailing,
                           String stackTrace,
                           String errorMessage)
      • StepDetails

        public StepDetails()
    • Method Detail

      • getIsFailing

        public Boolean getIsFailing()
        Returns:
        True if the current spec or scenario or step is failing due to error.
      • getText

        public String getText()
        Returns:
        The name of the step as given in the spec file.
      • getDynamicText

        public String getDynamicText()
        Returns:
        The step text with values of dynamic parameters instead of placeholders. Return the same value as text in case of static parameters.
      • getStackTrace

        public String getStackTrace()
      • getErrorMessage

        public String getErrorMessage()