Class DefaultGuiElementWait

  • All Implemented Interfaces:
    eu.tsystems.mms.tic.testframework.logging.Loggable, GuiElementWait

    @Deprecated
    public class DefaultGuiElementWait
    extends java.lang.Object
    implements GuiElementWait, eu.tsystems.mms.tic.testframework.logging.Loggable
    Deprecated.
    • Field Summary

      • Fields inherited from interface eu.tsystems.mms.tic.testframework.logging.Loggable

        prompt
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean waitForAnyFollowingTextNodeContains​(java.lang.String contains)
      Deprecated.
      Waits for any following text node of the current element to contain a text.
      boolean waitForAttribute​(java.lang.String attributeName)
      Deprecated.
      Wait for an attribute to be present.
      boolean waitForAttribute​(java.lang.String attributeName, java.lang.String value)
      Deprecated.
      Wait for an attribute to have the given value.
      boolean waitForAttributeContains​(java.lang.String attributeName, java.lang.String value)
      Deprecated.
      Wait for an attribute to have the given value.
      boolean waitForAttributeContainsNot​(java.lang.String attributeName, java.lang.String value)
      Deprecated.
      Wait for an attribute to have the given value.
      boolean waitForCssClassIsNotPresent​(java.lang.String className)
      Deprecated.
      Waits until the element has not the given css class name
      boolean waitForCssClassIsPresent​(java.lang.String className)
      Deprecated.
      Waits until the element has the given css class name
      boolean waitForIsDisabled()
      Deprecated.
      Wait until GuiElement is "disabled".
      boolean waitForIsDisplayed()
      Deprecated.
      Wait for isDisplayed() to be true
      boolean waitForIsEnabled()
      Deprecated.
      Wait until GuiElement is "enabled".
      boolean waitForIsNotDisplayed()
      Deprecated.
      Wait till this element disappears.
      boolean waitForIsNotPresent()
      Deprecated.
      Waits for an element to be not present.
      boolean waitForIsNotSelectable()
      Deprecated.
      Waits until the element is not selectable or times out.
      boolean waitForIsNotSelected()
      Deprecated.
      Wait till the element is not selected.
      boolean waitForIsNotVisible()
      Deprecated.
      Wait till element is not more visible within the viewport
      boolean waitForIsPresent()
      Deprecated.
      Executes find() with default-timeout.
      boolean waitForIsSelectable()
      Deprecated.
      Waits until the element is selectable or times out.
      boolean waitForIsSelected()
      Deprecated.
      Wait till the element is selected.
      boolean waitForIsVisible​(boolean complete)
      Deprecated.
      Wait till element is visible within the viewport
      boolean waitForText​(java.lang.String text)
      Deprecated.
      Waiting until GuiElement equals the given text.
      boolean waitForTextContains​(java.lang.String... text)
      Deprecated.
      Waiting until GuiElement contains the given text.
      boolean waitForTextContainsNot​(java.lang.String... texts)
      Deprecated.
      Waiting until GuiElement contains not the given text.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface eu.tsystems.mms.tic.testframework.logging.Loggable

        log
    • Constructor Detail

      • DefaultGuiElementWait

        public DefaultGuiElementWait​(GuiElement uiElement)
        Deprecated.
    • Method Detail

      • waitForIsPresent

        public boolean waitForIsPresent()
        Deprecated.
        Description copied from interface: GuiElementWait
        Executes find() with default-timeout.
        Specified by:
        waitForIsPresent in interface GuiElementWait
        Returns:
        true if present, false if not. No Exception is thrown.
      • waitForIsNotPresent

        public boolean waitForIsNotPresent()
        Deprecated.
        Description copied from interface: GuiElementWait
        Waits for an element to be not present.
        Specified by:
        waitForIsNotPresent in interface GuiElementWait
        Returns:
        this.
      • waitForIsEnabled

        public boolean waitForIsEnabled()
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait until GuiElement is "enabled".
        Specified by:
        waitForIsEnabled in interface GuiElementWait
        Returns:
        true if enabled, false if not. No Exception is thrown.
      • waitForIsDisabled

        public boolean waitForIsDisabled()
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait until GuiElement is "disabled".
        Specified by:
        waitForIsDisabled in interface GuiElementWait
        Returns:
        true if disabled, false if not. No Exception is thrown.
      • waitForAnyFollowingTextNodeContains

        public boolean waitForAnyFollowingTextNodeContains​(java.lang.String contains)
        Deprecated.
        Description copied from interface: GuiElementWait
        Waits for any following text node of the current element to contain a text.
        Specified by:
        waitForAnyFollowingTextNodeContains in interface GuiElementWait
        Parameters:
        contains - Text.
        Returns:
        true if contained, false if not. No Exception is thrown.
      • waitForIsDisplayed

        public boolean waitForIsDisplayed()
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait for isDisplayed() to be true
        Specified by:
        waitForIsDisplayed in interface GuiElementWait
        Returns:
        true is displayed, false if not. No Exception is thrown.
      • waitForIsVisible

        public boolean waitForIsVisible​(boolean complete)
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait till element is visible within the viewport
        Specified by:
        waitForIsVisible in interface GuiElementWait
        Parameters:
        complete - If TRUE, the bounding box of the element need to be fully contained in the viewport. Otherwise, only an intersection is needed.
      • waitForIsNotVisible

        public boolean waitForIsNotVisible()
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait till element is not more visible within the viewport
        Specified by:
        waitForIsNotVisible in interface GuiElementWait
      • waitForIsSelected

        public boolean waitForIsSelected()
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait till the element is selected.
        Specified by:
        waitForIsSelected in interface GuiElementWait
        Returns:
        selection status
      • waitForIsNotSelected

        public boolean waitForIsNotSelected()
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait till the element is not selected.
        Specified by:
        waitForIsNotSelected in interface GuiElementWait
        Returns:
        selection status
      • waitForText

        public boolean waitForText​(java.lang.String text)
        Deprecated.
        Description copied from interface: GuiElementWait
        Waiting until GuiElement equals the given text. Please note that this will only wait successfully, if the elements text is actually visible at some point. Actual value will be trimmed.
        Specified by:
        waitForText in interface GuiElementWait
        Parameters:
        text - Text to wait for, will be trimmed.
        Returns:
        true is present, false if not. No Exception is thrown.
      • waitForTextContains

        public boolean waitForTextContains​(java.lang.String... text)
        Deprecated.
        Description copied from interface: GuiElementWait
        Waiting until GuiElement contains the given text. Please note that this will only wait successfully, if the elements text is actually visible at some point.
        Specified by:
        waitForTextContains in interface GuiElementWait
        Parameters:
        text - Text to wait for.
        Returns:
        true is present, false if not. No Exception is thrown.
      • waitForTextContainsNot

        public boolean waitForTextContainsNot​(java.lang.String... texts)
        Deprecated.
        Description copied from interface: GuiElementWait
        Waiting until GuiElement contains not the given text. Please note that this will only wait successfully, if the elements text is actually visible at some point.
        Specified by:
        waitForTextContainsNot in interface GuiElementWait
        Parameters:
        texts - Text to wait for.
        Returns:
        true is not present, false if is. No Exception is thrown.
      • waitForAttribute

        public boolean waitForAttribute​(java.lang.String attributeName)
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait for an attribute to be present.
        Specified by:
        waitForAttribute in interface GuiElementWait
        Parameters:
        attributeName - .
      • waitForAttribute

        public boolean waitForAttribute​(java.lang.String attributeName,
                                        java.lang.String value)
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait for an attribute to have the given value. Actual value will be trimmed.
        Specified by:
        waitForAttribute in interface GuiElementWait
        Parameters:
        attributeName - .
        value - Will be trimmed.
      • waitForAttributeContains

        public boolean waitForAttributeContains​(java.lang.String attributeName,
                                                java.lang.String value)
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait for an attribute to have the given value.
        Specified by:
        waitForAttributeContains in interface GuiElementWait
        Parameters:
        attributeName - attribute to check
        value - value which is waited for
        Returns:
        true if the attribute eventually has the value
      • waitForAttributeContainsNot

        public boolean waitForAttributeContainsNot​(java.lang.String attributeName,
                                                   java.lang.String value)
        Deprecated.
        Description copied from interface: GuiElementWait
        Wait for an attribute to have the given value.
        Specified by:
        waitForAttributeContainsNot in interface GuiElementWait
        Parameters:
        attributeName - attribute to check
        value - value which is waited for
        Returns:
        true if the attribute eventually has the value
      • waitForCssClassIsPresent

        public boolean waitForCssClassIsPresent​(java.lang.String className)
        Deprecated.
        Description copied from interface: GuiElementWait
        Waits until the element has the given css class name
        Specified by:
        waitForCssClassIsPresent in interface GuiElementWait
        Parameters:
        className - Class name to check
        Returns:
        true if the css class is present
      • waitForCssClassIsNotPresent

        public boolean waitForCssClassIsNotPresent​(java.lang.String className)
        Deprecated.
        Description copied from interface: GuiElementWait
        Waits until the element has not the given css class name
        Specified by:
        waitForCssClassIsNotPresent in interface GuiElementWait
        Parameters:
        className - Class name to check
        Returns:
        true if the css class is gone
      • waitForIsSelectable

        public boolean waitForIsSelectable()
        Deprecated.
        Description copied from interface: GuiElementWait
        Waits until the element is selectable or times out.
        Specified by:
        waitForIsSelectable in interface GuiElementWait
        Returns:
        .
      • waitForIsNotSelectable

        public boolean waitForIsNotSelectable()
        Deprecated.
        Description copied from interface: GuiElementWait
        Waits until the element is not selectable or times out.
        Specified by:
        waitForIsNotSelectable in interface GuiElementWait
        Returns:
        .