Class MobileElementState
- java.lang.Object
-
- com.axway.ats.uiengine.utilities.mobile.MobileElementState
-
public class MobileElementState extends Object
-
-
Constructor Summary
Constructors Constructor Description MobileElementState(UiElement uiElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfocus()Moves the focus to the specified element.booleanisElementDisplayed()booleanisElementPresent()voidverifyExist()Verifies the element exist throws an exception if verification failvoidverifyNotExist()Verifies the element does NOT exist throws an exception if verification failvoidwaitToBecomeDisplayed()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)voidwaitToBecomeDisplayed(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 periodvoidwaitToBecomeExisting()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)voidwaitToBecomeExisting(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 periodvoidwaitToBecomeNotExisting()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)voidwaitToBecomeNotExisting(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
-
-
-
Constructor Detail
-
MobileElementState
public MobileElementState(UiElement uiElement)
- Parameters:
uiElement- the element of interest
-
-
Method Detail
-
focus
public void focus()
Moves the focus to the specified element. Currently issued with tap
-
verifyExist
public void verifyExist()
Verifies the element exist throws an exception if verification fail
-
verifyNotExist
public void verifyNotExist()
Verifies the element does NOT exist throws an exception if verification fail
-
waitToBecomeExisting
public 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)
-
waitToBecomeExisting
public 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
-
waitToBecomeNotExisting
public 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)
-
waitToBecomeNotExisting
public 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
-
waitToBecomeDisplayed
public 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)
-
waitToBecomeDisplayed
public 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
-
isElementPresent
public boolean isElementPresent()
-
isElementDisplayed
public boolean isElementDisplayed()
-
-