public class HiddenHtmlElementState extends Object implements IHtmlElementState
| Constructor and Description |
|---|
HiddenHtmlElementState(UiElement uiElement) |
| Modifier and Type | Method and Description |
|---|---|
void |
focus()
Moves the focus to the specified element.
|
void |
highlightElement()
Tries to briefly change the element's background color to yellow.
|
boolean |
isElementDisplayed()
Check whether the element is displayed or not
|
boolean |
isElementEnabled() |
boolean |
isElementPresent() |
void |
verifyExist()
Verifies the element exist
throws an exception if verification fail
|
void |
verifyNotExist()
Verifies the element does NOT exist
throws an exception if verification fail
|
void |
waitToBecomeDisabled()
Waits for a period of time (check the 'elementStateChangeDelay' property) the element to become disabled
throws an exception if it does not become disabled
for the default waiting period (check the 'elementStateChangeDelay' property)
|
void |
waitToBecomeDisabled(int millis)
Waits for a period of time the element to become disabled
throws an exception if it does not become disabled for the specified period
|
void |
waitToBecomeDisplayed()
Waits for a period of time (check the 'elementStateChangeDelay' property) the element to become displayed
throws an exception if it does not become displayed
for the default waiting period (check the 'elementStateChangeDelay' property)
|
void |
waitToBecomeDisplayed(int millis)
Waits for a period of time the element to become displayed
throws an exception if it does not become displayed for the specified period
|
void |
waitToBecomeEnabled()
Waits for a period of time (check the 'elementStateChangeDelay' property) the element to become enabled
throws an exception if it does not become enabled
for the default waiting period (check the 'elementStateChangeDelay' property)
|
void |
waitToBecomeEnabled(int millis)
Waits for a period of time the element to become enabled
throws an exception if it does not become enabled for the specified period
|
void |
waitToBecomeExisting()
Waits for a period of time (check the 'elementStateChangeDelay' property) the element to become existing
throws an exception if it does not become existing
for the default waiting period (check the 'elementStateChangeDelay' property)
|
void |
waitToBecomeExisting(int millis)
Waits for a period of time the element to become existing
throws an exception if it does not become existing for the specified period
|
void |
waitToBecomeHidden()
Waits for a period of time (check the 'elementStateChangeDelay' property) the element to become hidden
throws an exception if it does not become hidden
for the default waiting period (check the 'elementStateChangeDelay' property)
|
void |
waitToBecomeHidden(int millis)
Waits for a period of time the element to become hidden
throws an exception if it does not become hidden for the specified period
|
void |
waitToBecomeNotExisting()
Waits for a period of time (check the 'elementStateChangeDelay' property) the element to became non-existing
throws an exception if it does not become non-existing
for the default waiting period (check the 'elementStateChangeDelay' property)
|
void |
waitToBecomeNotExisting(int millis)
Waits for a period of time the element to became non-existing
throws an exception if it does not become non-existing for the specified period
|
public HiddenHtmlElementState(UiElement uiElement)
uiElement - the element of interestpublic void verifyExist()
verifyExist in interface IHtmlElementStatepublic void verifyNotExist()
verifyNotExist in interface IHtmlElementStatepublic void waitToBecomeExisting()
waitToBecomeExisting in interface IHtmlElementStatepublic void waitToBecomeExisting(int millis)
waitToBecomeExisting in interface IHtmlElementStatepublic void waitToBecomeNotExisting()
waitToBecomeNotExisting in interface IHtmlElementStatepublic void waitToBecomeNotExisting(int millis)
waitToBecomeNotExisting in interface IHtmlElementStatepublic void waitToBecomeDisplayed()
waitToBecomeDisplayed in interface IHtmlElementStatepublic void waitToBecomeDisplayed(int millis)
waitToBecomeDisplayed in interface IHtmlElementStatepublic void waitToBecomeHidden()
waitToBecomeHidden in interface IHtmlElementStatepublic void waitToBecomeHidden(int millis)
waitToBecomeHidden in interface IHtmlElementStatepublic void waitToBecomeEnabled()
waitToBecomeEnabled in interface IHtmlElementStatepublic void waitToBecomeEnabled(int millis)
waitToBecomeEnabled in interface IHtmlElementStatepublic void waitToBecomeDisabled()
waitToBecomeDisabled in interface IHtmlElementStatepublic void waitToBecomeDisabled(int millis)
waitToBecomeDisabled in interface IHtmlElementStatepublic boolean isElementPresent()
isElementPresent in interface IHtmlElementStatetrue if the element existspublic boolean isElementEnabled()
isElementEnabled in interface IHtmlElementStatetrue if the element is enabledpublic boolean isElementDisplayed()
isElementDisplayed in interface IHtmlElementStatetrue if the element is displayedpublic void focus()
IHtmlElementStatefocus in interface IHtmlElementStatepublic void highlightElement()
IHtmlElementStatehighlightElement in interface IHtmlElementStateCopyright © 2017 Axway Software. All rights reserved.