Class GuiElementAssertDecorator
- java.lang.Object
-
- eu.tsystems.mms.tic.testframework.pageobjects.internal.asserts.GuiElementAssertDecorator
-
- All Implemented Interfaces:
eu.tsystems.mms.tic.testframework.logging.Loggable,GuiElementAssert
- Direct Known Subclasses:
GuiElementAssertDescriptionDecorator
@Deprecated public abstract class GuiElementAssertDecorator extends java.lang.Object implements GuiElementAssert, eu.tsystems.mms.tic.testframework.logging.Loggable
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description GuiElementAssertDecorator(GuiElementAssert decoratedAssert)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidassertAnyFollowingTextNodeContains(java.lang.String contains)Deprecated.Checks, if the GuiElement contains the Text in one of the minor TextNodes.voidassertAttributeContains(java.lang.String attributeName, java.lang.String textContainedByAttribute)Deprecated.Checks if the GuiElement, contains the given text in an attribute.voidassertAttributeContainsNot(java.lang.String attributeName, java.lang.String textNotContainedByAttribute)Deprecated.Checks if the GuiElement, contains not the given text in an attribute.voidassertAttributeIsPresent(java.lang.String attributeName)Deprecated.Assert attribute is present.voidassertAttributeValue(java.lang.String attributeName, java.lang.String value)Deprecated.Checks if the GuiElement contains matches a given text in an attribute.voidassertCssClassIsNotPresent(java.lang.String className)Deprecated.Checks if the element has not a given css class namevoidassertCssClassIsPresent(java.lang.String className)Deprecated.Checks if the element has a given css class namevoidassertInputFieldLength(int length)Deprecated.Functions checks whether given input-length is validvoidassertIsDisabled()Deprecated.Checks for (wait) disabled state.voidassertIsDisplayed()Deprecated.Assert waitForIsDisplayed() = true.voidassertIsDisplayedFromWebElement()Deprecated.Assert is displayed from webelement with waitvoidassertIsEnabled()Deprecated.Checks for (wait) enabled state.voidassertIsNotDisplayed()Deprecated.Assert waitForIsDisplayed() = false.voidassertIsNotPresent()Deprecated.Assert waitForIsNotPresent() = true.voidassertIsNotPresentFast()Deprecated.Assert isPresent() = false.voidassertIsNotSelectable()Deprecated.Checks if GuiElement is not selectable.voidassertIsNotSelected()Deprecated.Assert waitForIsSelected() = false.voidassertIsPresent()Deprecated.Assert waitForIsPresent() = true.voidassertIsPresentFast()Deprecated.Assert isPresent() = true.voidassertIsSelectable()Deprecated.Assert is selectablevoidassertIsSelected()Deprecated.Assert waitForIsSelected() = true.voidassertLayout(ILayout layout)Deprecated.Checks two guielements layouts against each other.voidassertNotVisible()Deprecated.Asserts the invisibility of this elementvoidassertScreenshot(java.lang.String targetImageName, double confidenceThreshold)Deprecated.Asserts the pixel of this elementvoidassertText(java.lang.String text)Deprecated.Checks if GuiElement contains the given text.voidassertTextContains(java.lang.String... text)Deprecated.Checks if the GuiElement, contains the given texts.voidassertTextContainsNot(java.lang.String... text)Deprecated.Checks if the GuiElement, contains not given texts.voidassertVisible(boolean fullyVisible)Deprecated.Asserts the visibility of this element-
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.asserts.GuiElementAssert
assertContainsText, assertIsNotDisplayedFromWebElement
-
-
-
-
Constructor Detail
-
GuiElementAssertDecorator
public GuiElementAssertDecorator(GuiElementAssert decoratedAssert)
Deprecated.
-
-
Method Detail
-
assertIsNotPresent
public void assertIsNotPresent()
Deprecated.Description copied from interface:GuiElementAssertAssert waitForIsNotPresent() = true.- Specified by:
assertIsNotPresentin interfaceGuiElementAssert- See Also:
GuiElementWait.waitForIsNotPresent()
-
assertIsNotPresentFast
public void assertIsNotPresentFast()
Deprecated.Description copied from interface:GuiElementAssertAssert isPresent() = false.- Specified by:
assertIsNotPresentFastin interfaceGuiElementAssert
-
assertIsSelected
public void assertIsSelected()
Deprecated.Description copied from interface:GuiElementAssertAssert waitForIsSelected() = true.- Specified by:
assertIsSelectedin interfaceGuiElementAssert- See Also:
GuiElementWait.waitForIsSelected()
-
assertIsNotSelected
public void assertIsNotSelected()
Deprecated.Description copied from interface:GuiElementAssertAssert waitForIsSelected() = false.- Specified by:
assertIsNotSelectedin interfaceGuiElementAssert- See Also:
GuiElementWait.waitForIsNotSelected()
-
assertIsNotSelectable
public void assertIsNotSelectable()
Deprecated.Description copied from interface:GuiElementAssertChecks if GuiElement is not selectable. WARNING: Can change the selection status of the element, if it is selectable.- Specified by:
assertIsNotSelectablein interfaceGuiElementAssert
-
assertIsSelectable
public void assertIsSelectable()
Deprecated.Description copied from interface:GuiElementAssertAssert is selectable- Specified by:
assertIsSelectablein interfaceGuiElementAssert
-
assertIsNotDisplayed
public void assertIsNotDisplayed()
Deprecated.Description copied from interface:GuiElementAssertAssert waitForIsDisplayed() = false.- Specified by:
assertIsNotDisplayedin interfaceGuiElementAssert- See Also:
GuiElementWait.waitForIsNotDisplayed()
-
assertText
public void assertText(java.lang.String text)
Deprecated.Description copied from interface:GuiElementAssertChecks if GuiElement contains the given text. Please note that this will only assert successfully, if the elements text is actually visible (wait). The actual value will be trimmed.- Specified by:
assertTextin interfaceGuiElementAssert- Parameters:
text- The text to check. Will be trimmed.- See Also:
GuiElementWait.waitForText(String)
-
assertTextContains
public void assertTextContains(java.lang.String... text)
Deprecated.Description copied from interface:GuiElementAssertChecks if the GuiElement, contains the given texts. Please note that this will only assert successfully, if the elements text is actually visible.- Specified by:
assertTextContainsin interfaceGuiElementAssert- Parameters:
text- Strings that should be contained in text. Will NOT be trimmed.
-
assertTextContainsNot
public void assertTextContainsNot(java.lang.String... text)
Deprecated.Description copied from interface:GuiElementAssertChecks if the GuiElement, contains not given texts. Please note that this will only assert successfully, if the elements text is actually visible.- Specified by:
assertTextContainsNotin interfaceGuiElementAssert- Parameters:
text- Strings that should not be contained in text. Will NOT be trimmed.
-
assertAttributeIsPresent
public void assertAttributeIsPresent(java.lang.String attributeName)
Deprecated.Description copied from interface:GuiElementAssertAssert attribute is present.- Specified by:
assertAttributeIsPresentin interfaceGuiElementAssert- Parameters:
attributeName- Will be trimmed.- See Also:
GuiElementWait.waitForAttribute(String)
-
assertAttributeValue
public void assertAttributeValue(java.lang.String attributeName, java.lang.String value)Deprecated.Description copied from interface:GuiElementAssertChecks if the GuiElement contains matches a given text in an attribute. The actual value will be trimmed.- Specified by:
assertAttributeValuein interfaceGuiElementAssert- Parameters:
attributeName- Attribute whose value is checked. Will be trimmed.value- Text that should be matched. Will be trimmed.- See Also:
GuiElementWait.waitForAttribute(String, String)
-
assertAttributeContains
public void assertAttributeContains(java.lang.String attributeName, java.lang.String textContainedByAttribute)Deprecated.Description copied from interface:GuiElementAssertChecks if the GuiElement, contains the given text in an attribute.- Specified by:
assertAttributeContainsin interfaceGuiElementAssert- Parameters:
attributeName- Attribute whose value is checked. Will be trimmed.textContainedByAttribute- Text that should be contained. Will NOT be trimmed.- See Also:
GuiElementWait.waitForAttributeContains(String, String)
-
assertAttributeContainsNot
public void assertAttributeContainsNot(java.lang.String attributeName, java.lang.String textNotContainedByAttribute)Deprecated.Description copied from interface:GuiElementAssertChecks if the GuiElement, contains not the given text in an attribute.- Specified by:
assertAttributeContainsNotin interfaceGuiElementAssert- Parameters:
attributeName- Attribute whose value is checked. Will be trimmed.textNotContainedByAttribute- Text that should not be contained. Will NOT be trimmed.- See Also:
GuiElementWait.waitForAttributeContainsNot(String, String)
-
assertAnyFollowingTextNodeContains
public void assertAnyFollowingTextNodeContains(java.lang.String contains)
Deprecated.Description copied from interface:GuiElementAssertChecks, if the GuiElement contains the Text in one of the minor TextNodes.- Specified by:
assertAnyFollowingTextNodeContainsin interfaceGuiElementAssert- Parameters:
contains- Text that should be contained. Will NOT be trimmed.
-
assertIsEnabled
public void assertIsEnabled()
Deprecated.Description copied from interface:GuiElementAssertChecks for (wait) enabled state.- Specified by:
assertIsEnabledin interfaceGuiElementAssert- See Also:
GuiElementWait.waitForIsEnabled()
-
assertIsDisabled
public void assertIsDisabled()
Deprecated.Description copied from interface:GuiElementAssertChecks for (wait) disabled state.- Specified by:
assertIsDisabledin interfaceGuiElementAssert- See Also:
GuiElementWait.waitForIsDisabled()
-
assertInputFieldLength
public void assertInputFieldLength(int length)
Deprecated.Description copied from interface:GuiElementAssertFunctions checks whether given input-length is valid- Specified by:
assertInputFieldLengthin interfaceGuiElementAssert- Parameters:
length- InputFieldsLength that is expected.
-
assertLayout
public void assertLayout(ILayout layout)
Deprecated.Description copied from interface:GuiElementAssertChecks two guielements layouts against each other.- Specified by:
assertLayoutin interfaceGuiElementAssert- Parameters:
layout- Layout description.
-
assertCssClassIsPresent
public void assertCssClassIsPresent(java.lang.String className)
Deprecated.Description copied from interface:GuiElementAssertChecks if the element has a given css class name- Specified by:
assertCssClassIsPresentin interfaceGuiElementAssert
-
assertCssClassIsNotPresent
public void assertCssClassIsNotPresent(java.lang.String className)
Deprecated.Description copied from interface:GuiElementAssertChecks if the element has not a given css class name- Specified by:
assertCssClassIsNotPresentin interfaceGuiElementAssert
-
assertIsPresent
public void assertIsPresent()
Deprecated.Description copied from interface:GuiElementAssertAssert waitForIsPresent() = true.- Specified by:
assertIsPresentin interfaceGuiElementAssert- See Also:
GuiElementWait.waitForIsPresent()
-
assertIsPresentFast
public void assertIsPresentFast()
Deprecated.Description copied from interface:GuiElementAssertAssert isPresent() = true.- Specified by:
assertIsPresentFastin interfaceGuiElementAssert
-
assertIsDisplayed
public void assertIsDisplayed()
Deprecated.Description copied from interface:GuiElementAssertAssert waitForIsDisplayed() = true.- Specified by:
assertIsDisplayedin interfaceGuiElementAssert- See Also:
GuiElementWait.waitForIsDisplayed()
-
assertIsDisplayedFromWebElement
public void assertIsDisplayedFromWebElement()
Deprecated.Description copied from interface:GuiElementAssertAssert is displayed from webelement with wait- Specified by:
assertIsDisplayedFromWebElementin interfaceGuiElementAssert
-
assertScreenshot
public void assertScreenshot(java.lang.String targetImageName, double confidenceThreshold)Deprecated.Description copied from interface:GuiElementAssertAsserts the pixel of this element- Specified by:
assertScreenshotin interfaceGuiElementAssert
-
assertVisible
public void assertVisible(boolean fullyVisible)
Deprecated.Description copied from interface:GuiElementAssertAsserts the visibility of this element- Specified by:
assertVisiblein interfaceGuiElementAssert- Parameters:
fullyVisible- If TRUE, the bounding box of the element need to be fully contained in the viewport. Otherwise, only an intersection is needed.
-
assertNotVisible
public void assertNotVisible()
Deprecated.Description copied from interface:GuiElementAssertAsserts the invisibility of this element- Specified by:
assertNotVisiblein interfaceGuiElementAssert
-
-