public class MobileElementState extends Object
| Constructor and Description |
|---|
MobileElementState(UiElement uiElement) |
| Modifier and Type | Method and Description |
|---|---|
void |
focus()
Moves the focus to the specified element.
|
boolean |
isElementDisplayed() |
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 |
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 |
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 |
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 MobileElementState(UiElement uiElement)
uiElement - the element of interestpublic void focus()
public void verifyExist()
public void verifyNotExist()
public void waitToBecomeExisting()
public void waitToBecomeExisting(int millis)
public void waitToBecomeNotExisting()
public void waitToBecomeNotExisting(int millis)
public void waitToBecomeDisplayed()
public void waitToBecomeDisplayed(int millis)
public boolean isElementPresent()
public boolean isElementDisplayed()
Copyright © 2017 Axway Software. All rights reserved.