Interface GuiElementAssert
-
- All Known Implementing Classes:
GuiElementAssertDecorator,GuiElementAssertDescriptionDecorator,LegacyGuiElementAssertWrapper,PerformanceTestGuiElementAssert
@Deprecated public interface GuiElementAssertDeprecated.User: rnhb Date: 11.08.2015
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default 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.default voidassertContainsText(java.lang.String... text)Deprecated.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.default voidassertIsDisplayedFromWebElement()Deprecated.voidassertIsEnabled()Deprecated.Checks for (wait) enabled state.voidassertIsNotDisplayed()Deprecated.Assert waitForIsDisplayed() = false.default voidassertIsNotDisplayedFromWebElement()Deprecated.voidassertIsNotPresent()Deprecated.Assert waitForIsNotPresent() = true.default voidassertIsNotPresentFast()Deprecated.voidassertIsNotSelectable()Deprecated.Checks if GuiElement is not selectable.voidassertIsNotSelected()Deprecated.Assert waitForIsSelected() = false.voidassertIsPresent()Deprecated.Assert waitForIsPresent() = true.default voidassertIsPresentFast()Deprecated.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
-
-
-
Method Detail
-
assertIsPresentFast
@Deprecated default void assertIsPresentFast()
Deprecated.Assert isPresent() = true.
-
assertIsPresent
void assertIsPresent()
Deprecated.Assert waitForIsPresent() = true.- See Also:
GuiElementWait.waitForIsPresent()
-
assertIsNotPresent
void assertIsNotPresent()
Deprecated.Assert waitForIsNotPresent() = true.- See Also:
GuiElementWait.waitForIsNotPresent()
-
assertIsNotPresentFast
@Deprecated default void assertIsNotPresentFast()
Deprecated.Assert isPresent() = false.
-
assertIsSelected
void assertIsSelected()
Deprecated.Assert waitForIsSelected() = true.- See Also:
GuiElementWait.waitForIsSelected()
-
assertIsNotSelected
void assertIsNotSelected()
Deprecated.Assert waitForIsSelected() = false.- See Also:
GuiElementWait.waitForIsNotSelected()
-
assertIsNotSelectable
void assertIsNotSelectable()
Deprecated.Checks if GuiElement is not selectable. WARNING: Can change the selection status of the element, if it is selectable.
-
assertIsSelectable
void assertIsSelectable()
Deprecated.Assert is selectable
-
assertIsDisplayed
void assertIsDisplayed()
Deprecated.Assert waitForIsDisplayed() = true.- See Also:
GuiElementWait.waitForIsDisplayed()
-
assertIsNotDisplayed
void assertIsNotDisplayed()
Deprecated.Assert waitForIsDisplayed() = false.- See Also:
GuiElementWait.waitForIsNotDisplayed()
-
assertIsDisplayedFromWebElement
@Deprecated default void assertIsDisplayedFromWebElement()
Deprecated.Assert is displayed from webelement with wait
-
assertIsNotDisplayedFromWebElement
@Deprecated default void assertIsNotDisplayedFromWebElement()
Deprecated.Assert is not displayed from webelement with wait
-
assertText
void assertText(java.lang.String text)
Deprecated.Checks 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.- Parameters:
text- The text to check. Will be trimmed.- See Also:
GuiElementWait.waitForText(String)
-
assertContainsText
@Deprecated default void assertContainsText(java.lang.String... text)
Deprecated.Checks if the GuiElement, contains the given texts. Please note that this will only assert successfully, if the elements text is actually visible. UseassertTextContains(String...)instead- Parameters:
text- Strings that should be contained in text. Will NOT be trimmed.
-
assertTextContains
void assertTextContains(java.lang.String... text)
Deprecated.Checks if the GuiElement, contains the given texts. Please note that this will only assert successfully, if the elements text is actually visible.- Parameters:
text- Strings that should be contained in text. Will NOT be trimmed.
-
assertTextContainsNot
void assertTextContainsNot(java.lang.String... text)
Deprecated.Checks if the GuiElement, contains not given texts. Please note that this will only assert successfully, if the elements text is actually visible.- Parameters:
text- Strings that should not be contained in text. Will NOT be trimmed.
-
assertAttributeIsPresent
void assertAttributeIsPresent(java.lang.String attributeName)
Deprecated.Assert attribute is present.- Parameters:
attributeName- Will be trimmed.- See Also:
GuiElementWait.waitForAttribute(String)
-
assertAttributeValue
void assertAttributeValue(java.lang.String attributeName, java.lang.String value)Deprecated.Checks if the GuiElement contains matches a given text in an attribute. The actual value will be trimmed.- 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
void assertAttributeContains(java.lang.String attributeName, java.lang.String textContainedByAttribute)Deprecated.Checks if the GuiElement, contains the given text in an attribute.- 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
void assertAttributeContainsNot(java.lang.String attributeName, java.lang.String textNotContainedByAttribute)Deprecated.Checks if the GuiElement, contains not the given text in an attribute.- 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
void assertAnyFollowingTextNodeContains(java.lang.String contains)
Deprecated.Checks, if the GuiElement contains the Text in one of the minor TextNodes.- Parameters:
contains- Text that should be contained. Will NOT be trimmed.
-
assertIsEnabled
void assertIsEnabled()
Deprecated.Checks for (wait) enabled state.- See Also:
GuiElementWait.waitForIsEnabled()
-
assertIsDisabled
void assertIsDisabled()
Deprecated.Checks for (wait) disabled state.- See Also:
GuiElementWait.waitForIsDisabled()
-
assertInputFieldLength
void assertInputFieldLength(int length)
Deprecated.Functions checks whether given input-length is valid- Parameters:
length- InputFieldsLength that is expected.
-
assertLayout
void assertLayout(ILayout layout)
Deprecated.Checks two guielements layouts against each other.- Parameters:
layout- Layout description.
-
assertCssClassIsPresent
void assertCssClassIsPresent(java.lang.String className)
Deprecated.Checks if the element has a given css class name- Parameters:
className-
-
assertCssClassIsNotPresent
void assertCssClassIsNotPresent(java.lang.String className)
Deprecated.Checks if the element has not a given css class name- Parameters:
className-
-
assertScreenshot
void assertScreenshot(java.lang.String targetImageName, double confidenceThreshold)Deprecated.Asserts the pixel of this element
-
assertVisible
void assertVisible(boolean fullyVisible)
Deprecated.Asserts the visibility of this element- 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
void assertNotVisible()
Deprecated.Asserts the invisibility of this element
-
-