Class AbstractEnhancedKeyword

    • Field Summary

      • Fields inherited from class step.handlers.javahandler.AbstractKeyword

        input, logger, output, properties, session, tokenSession
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addErrorMessage​(java.lang.String errorMessage)  
      java.lang.String buildMessage​(java.lang.String header, java.util.Set<java.lang.String> messageParts)  
      void checkMandatoryInputs​(java.lang.String... mandatoryInputs)  
      void failWithErrorMessage​(java.lang.String errorMessage)  
      void failWithErrorMessage​(java.lang.String errorMessage, boolean withLog, boolean withTrace)  
      void failWithException​(java.lang.Exception e)  
      void failWithException​(java.lang.Exception e, boolean withLog, boolean withStackStrace)  
      org.openqa.selenium.WebDriver getDriver()  
      java.lang.String getMandatoryInput​(java.lang.String inputKey)  
      java.lang.String getOptionalInput​(java.lang.String inputKey, java.lang.String defaultValue)  
      boolean onError​(java.lang.Exception e)  
      protected PlansPage openDriverAndLogin()  
      void setDriver​(org.openqa.selenium.WebDriver driver)  
      protected void setFailed()  
      protected void setSuccess()  
      static void stopMeasureWithMeta​(step.functions.io.OutputBuilder output)  
      • Methods inherited from class step.handlers.javahandler.AbstractKeyword

        getInput, getOutputBuilder, getProperties, getSession, getTokenSession, setInput, setOutputBuilder, setProperties, setSession, setTokenSession
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractEnhancedKeyword

        public AbstractEnhancedKeyword()
    • Method Detail

      • stopMeasureWithMeta

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

        public java.lang.String getMandatoryInput​(java.lang.String inputKey)
      • getOptionalInput

        public java.lang.String getOptionalInput​(java.lang.String inputKey,
                                                 java.lang.String defaultValue)
      • checkMandatoryInputs

        public void checkMandatoryInputs​(java.lang.String... mandatoryInputs)
      • buildMessage

        public java.lang.String buildMessage​(java.lang.String header,
                                             java.util.Set<java.lang.String> messageParts)
      • failWithException

        public void failWithException​(java.lang.Exception e)
      • failWithException

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

        public void failWithErrorMessage​(java.lang.String errorMessage)
      • failWithErrorMessage

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

        public void addErrorMessage​(java.lang.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​(java.lang.Exception e)
        Overrides:
        onError in class step.handlers.javahandler.AbstractKeyword
      • openDriverAndLogin

        protected PlansPage openDriverAndLogin()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception