Class DefaultGuiElementWait
- java.lang.Object
-
- eu.tsystems.mms.tic.testframework.pageobjects.internal.waiters.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.
-
-
Constructor Summary
Constructors Constructor Description DefaultGuiElementWait(GuiElement uiElement)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanwaitForAnyFollowingTextNodeContains(java.lang.String contains)Deprecated.Waits for any following text node of the current element to contain a text.booleanwaitForAttribute(java.lang.String attributeName)Deprecated.Wait for an attribute to be present.booleanwaitForAttribute(java.lang.String attributeName, java.lang.String value)Deprecated.Wait for an attribute to have the given value.booleanwaitForAttributeContains(java.lang.String attributeName, java.lang.String value)Deprecated.Wait for an attribute to have the given value.booleanwaitForAttributeContainsNot(java.lang.String attributeName, java.lang.String value)Deprecated.Wait for an attribute to have the given value.booleanwaitForCssClassIsNotPresent(java.lang.String className)Deprecated.Waits until the element has not the given css class namebooleanwaitForCssClassIsPresent(java.lang.String className)Deprecated.Waits until the element has the given css class namebooleanwaitForIsDisabled()Deprecated.Wait until GuiElement is "disabled".booleanwaitForIsDisplayed()Deprecated.Wait for isDisplayed() to be truebooleanwaitForIsEnabled()Deprecated.Wait until GuiElement is "enabled".booleanwaitForIsNotDisplayed()Deprecated.Wait till this element disappears.booleanwaitForIsNotPresent()Deprecated.Waits for an element to be not present.booleanwaitForIsNotSelectable()Deprecated.Waits until the element is not selectable or times out.booleanwaitForIsNotSelected()Deprecated.Wait till the element is not selected.booleanwaitForIsNotVisible()Deprecated.Wait till element is not more visible within the viewportbooleanwaitForIsPresent()Deprecated.Executes find() with default-timeout.booleanwaitForIsSelectable()Deprecated.Waits until the element is selectable or times out.booleanwaitForIsSelected()Deprecated.Wait till the element is selected.booleanwaitForIsVisible(boolean complete)Deprecated.Wait till element is visible within the viewportbooleanwaitForText(java.lang.String text)Deprecated.Waiting until GuiElement equals the given text.booleanwaitForTextContains(java.lang.String... text)Deprecated.Waiting until GuiElement contains the given text.booleanwaitForTextContainsNot(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.pageobjects.internal.waiters.GuiElementWait
waitForIsDisplayedFromWebElement, waitForIsNotDisplayedFromWebElement
-
-
-
-
Constructor Detail
-
DefaultGuiElementWait
public DefaultGuiElementWait(GuiElement uiElement)
Deprecated.
-
-
Method Detail
-
waitForIsPresent
public boolean waitForIsPresent()
Deprecated.Description copied from interface:GuiElementWaitExecutes find() with default-timeout.- Specified by:
waitForIsPresentin interfaceGuiElementWait- Returns:
- true if present, false if not. No Exception is thrown.
-
waitForIsNotPresent
public boolean waitForIsNotPresent()
Deprecated.Description copied from interface:GuiElementWaitWaits for an element to be not present.- Specified by:
waitForIsNotPresentin interfaceGuiElementWait- Returns:
- this.
-
waitForIsEnabled
public boolean waitForIsEnabled()
Deprecated.Description copied from interface:GuiElementWaitWait until GuiElement is "enabled".- Specified by:
waitForIsEnabledin interfaceGuiElementWait- Returns:
- true if enabled, false if not. No Exception is thrown.
-
waitForIsDisabled
public boolean waitForIsDisabled()
Deprecated.Description copied from interface:GuiElementWaitWait until GuiElement is "disabled".- Specified by:
waitForIsDisabledin interfaceGuiElementWait- Returns:
- true if disabled, false if not. No Exception is thrown.
-
waitForAnyFollowingTextNodeContains
public boolean waitForAnyFollowingTextNodeContains(java.lang.String contains)
Deprecated.Description copied from interface:GuiElementWaitWaits for any following text node of the current element to contain a text.- Specified by:
waitForAnyFollowingTextNodeContainsin interfaceGuiElementWait- Parameters:
contains- Text.- Returns:
- true if contained, false if not. No Exception is thrown.
-
waitForIsDisplayed
public boolean waitForIsDisplayed()
Deprecated.Description copied from interface:GuiElementWaitWait for isDisplayed() to be true- Specified by:
waitForIsDisplayedin interfaceGuiElementWait- Returns:
- true is displayed, false if not. No Exception is thrown.
-
waitForIsNotDisplayed
public boolean waitForIsNotDisplayed()
Deprecated.Description copied from interface:GuiElementWaitWait till this element disappears.- Specified by:
waitForIsNotDisplayedin interfaceGuiElementWait
-
waitForIsVisible
public boolean waitForIsVisible(boolean complete)
Deprecated.Description copied from interface:GuiElementWaitWait till element is visible within the viewport- Specified by:
waitForIsVisiblein interfaceGuiElementWait- 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:GuiElementWaitWait till element is not more visible within the viewport- Specified by:
waitForIsNotVisiblein interfaceGuiElementWait
-
waitForIsSelected
public boolean waitForIsSelected()
Deprecated.Description copied from interface:GuiElementWaitWait till the element is selected.- Specified by:
waitForIsSelectedin interfaceGuiElementWait- Returns:
- selection status
-
waitForIsNotSelected
public boolean waitForIsNotSelected()
Deprecated.Description copied from interface:GuiElementWaitWait till the element is not selected.- Specified by:
waitForIsNotSelectedin interfaceGuiElementWait- Returns:
- selection status
-
waitForText
public boolean waitForText(java.lang.String text)
Deprecated.Description copied from interface:GuiElementWaitWaiting 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:
waitForTextin interfaceGuiElementWait- 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:GuiElementWaitWaiting 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:
waitForTextContainsin interfaceGuiElementWait- 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:GuiElementWaitWaiting 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:
waitForTextContainsNotin interfaceGuiElementWait- 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:GuiElementWaitWait for an attribute to be present.- Specified by:
waitForAttributein interfaceGuiElementWait- Parameters:
attributeName- .
-
waitForAttribute
public boolean waitForAttribute(java.lang.String attributeName, java.lang.String value)Deprecated.Description copied from interface:GuiElementWaitWait for an attribute to have the given value. Actual value will be trimmed.- Specified by:
waitForAttributein interfaceGuiElementWait- Parameters:
attributeName- .value- Will be trimmed.
-
waitForAttributeContains
public boolean waitForAttributeContains(java.lang.String attributeName, java.lang.String value)Deprecated.Description copied from interface:GuiElementWaitWait for an attribute to have the given value.- Specified by:
waitForAttributeContainsin interfaceGuiElementWait- Parameters:
attributeName- attribute to checkvalue- 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:GuiElementWaitWait for an attribute to have the given value.- Specified by:
waitForAttributeContainsNotin interfaceGuiElementWait- Parameters:
attributeName- attribute to checkvalue- 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:GuiElementWaitWaits until the element has the given css class name- Specified by:
waitForCssClassIsPresentin interfaceGuiElementWait- 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:GuiElementWaitWaits until the element has not the given css class name- Specified by:
waitForCssClassIsNotPresentin interfaceGuiElementWait- Parameters:
className- Class name to check- Returns:
- true if the css class is gone
-
waitForIsSelectable
public boolean waitForIsSelectable()
Deprecated.Description copied from interface:GuiElementWaitWaits until the element is selectable or times out.- Specified by:
waitForIsSelectablein interfaceGuiElementWait- Returns:
- .
-
waitForIsNotSelectable
public boolean waitForIsNotSelectable()
Deprecated.Description copied from interface:GuiElementWaitWaits until the element is not selectable or times out.- Specified by:
waitForIsNotSelectablein interfaceGuiElementWait- Returns:
- .
-
-