Class AbstractEnhancedKeyword

    • Constructor Detail

      • AbstractEnhancedKeyword

        public AbstractEnhancedKeyword()
    • Method Detail

      • stopMeasureWithMeta

        public static void stopMeasureWithMeta​(step.functions.io.OutputBuilder output)
      • getMandatoryInput

        public String getMandatoryInput​(String inputKey)
      • getOptionalInput

        public String getOptionalInput​(String inputKey,
                                       String defaultValue)
      • checkMandatoryInputs

        public void checkMandatoryInputs​(String... mandatoryInputs)
      • failWithException

        public void failWithException​(Exception e)
      • failWithException

        public void failWithException​(Exception e,
                                      boolean withLog,
                                      boolean withStackStrace)
      • failWithErrorMessage

        public void failWithErrorMessage​(String errorMessage)
      • failWithErrorMessage

        public void failWithErrorMessage​(String errorMessage,
                                         boolean withLog,
                                         boolean withTrace)
      • addErrorMessage

        public void addErrorMessage​(String errorMessage)
      • setSuccess

        protected void setSuccess()
      • setFailed

        protected void setFailed()
      • setDriver

        public void setDriver​(org.openqa.selenium.WebDriver driver)
      • getDriver

        public final org.openqa.selenium.WebDriver getDriver()
      • onError

        public boolean onError​(Exception e)
        Overrides:
        onError in class step.handlers.javahandler.AbstractKeyword