public class AppletAutoGen extends AppletBase
Constructor and Description |
---|
AppletAutoGen(ApplicationType applicationType) |
AppletAutoGen(ApplicationType applicationType,
RhinoScriptRunner rhinoScriptRunner) |
AppletAutoGen(ApplicationType applicationType,
java.lang.String host,
int port) |
AppletAutoGen(Browser b) |
AppletAutoGen(Browser browser,
RhinoScriptRunner rhinoScriptRunner) |
Modifier and Type | Method and Description |
---|---|
void |
activateApplication(java.lang.String bundleId)
Activates an application.
|
void |
activateApplication(java.lang.String bundleId,
java.lang.Boolean force)
Activates an application.
|
void |
activateSiriWithVoiceRecognitionText(java.lang.String text)
Activates Siri with voice recognition text.
|
void |
addHttpHeader(java.lang.String key,
java.lang.String value)
Adds the HTTP header for all further requests made in this browser session.
|
void |
addMock(java.lang.String pattern)
Forces the proxy to process certain patterns of urls differently.
|
void |
addMock(java.lang.String pattern,
java.lang.String class_method)
Forces the proxy to process certain patterns of urls differently.
|
void |
addResponseSubstitutionRule(java.lang.String name,
java.lang.String urlPattern,
java.lang.Boolean isRegExp,
java.lang.String find,
java.lang.String replace)
Substitutes the HTTP response for all further responces coming in this browser session.
|
void |
addToSession(java.lang.String domain)
Adds the domain to the current script session.
|
void |
alert(java.lang.String message)
Alerts the message on the browser.
|
java.lang.Boolean |
areHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement)
areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
java.lang.Boolean |
areHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position)
areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
java.lang.Boolean |
areHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap)
areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
java.lang.Boolean |
areHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap)
areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
java.lang.Boolean |
areHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer offset)
areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
java.lang.Boolean |
areHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer[] offset)
areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
java.lang.Boolean |
areHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer offset)
areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
java.lang.Boolean |
areHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer[] offset)
areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
java.lang.Boolean |
areVerticallyAligned(ElementStub topElement,
ElementStub bottomElement)
areVerticallyAligned checks whether two elements are vertically aligned or not.
|
java.lang.Boolean |
areVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position)
areVerticallyAligned checks whether two elements are vertically aligned or not.
|
java.lang.Boolean |
areVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap)
areVerticallyAligned checks whether two elements are vertically aligned or not.
|
java.lang.Boolean |
areVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap)
areVerticallyAligned checks whether two elements are vertically aligned or not.
|
java.lang.Boolean |
areVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer offset)
areVerticallyAligned checks whether two elements are vertically aligned or not.
|
java.lang.Boolean |
areVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer[] offset)
areVerticallyAligned checks whether two elements are vertically aligned or not.
|
java.lang.Boolean |
areVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer offset)
areVerticallyAligned checks whether two elements are vertically aligned or not.
|
java.lang.Boolean |
areVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer[] offset)
areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer offset)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer[] offset)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer[] offset,
java.lang.String message)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer offset,
java.lang.String message)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer offset)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer[] offset)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer[] offset,
java.lang.String message)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer offset,
java.lang.String message)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer offset)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer[] offset)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer[] offset,
java.lang.String message)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer offset,
java.lang.String message)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer offset)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer[] offset)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer[] offset,
java.lang.String message)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer offset,
java.lang.String message)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment)
_isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
void |
assertCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment,
java.lang.Integer offset)
_isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
void |
assertCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment,
java.lang.Integer[] offset)
_isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
void |
assertCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment,
java.lang.Integer[] offset,
java.lang.String message)
_isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
void |
assertCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment,
java.lang.Integer offset,
java.lang.String message)
_isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
void |
assertChecked(ElementStub el)
assertChecked
|
void |
assertChecked(ElementStub el,
java.lang.String message)
assertChecked
|
void |
assertContainsText(ElementStub element,
java.lang.String text)
assertContainsText
|
void |
assertContainsText(ElementStub element,
java.lang.String text,
java.lang.String message)
assertContainsText
|
void |
assertExists(ElementStub el)
assertExists
|
void |
assertExists(ElementStub el,
java.lang.String message)
assertExists
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2)
assertFitsHeight
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace)
assertFitsHeight
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace)
assertFitsHeight
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer bottomSpace)
assertFitsHeight
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] bottomSpace)
assertFitsHeight
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] bottomSpace,
java.lang.String message)
assertFitsHeight
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer bottomSpace,
java.lang.String message)
assertFitsHeight
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer bottomSpace)
assertFitsHeight
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] bottomSpace)
assertFitsHeight
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] bottomSpace,
java.lang.String message)
assertFitsHeight
|
void |
assertFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer bottomSpace,
java.lang.String message)
assertFitsHeight
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2)
assertFitsWidth
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace)
assertFitsWidth
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace)
assertFitsWidth
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace,
java.lang.Integer rightSpace)
assertFitsWidth
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace,
java.lang.Integer[] rightSpace)
assertFitsWidth
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace,
java.lang.Integer[] rightSpace,
java.lang.String message)
assertFitsWidth
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace,
java.lang.Integer rightSpace,
java.lang.String message)
assertFitsWidth
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace,
java.lang.Integer rightSpace)
assertFitsWidth
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace,
java.lang.Integer[] rightSpace)
assertFitsWidth
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace,
java.lang.Integer[] rightSpace,
java.lang.String message)
assertFitsWidth
|
void |
assertFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace,
java.lang.Integer rightSpace,
java.lang.String message)
assertFitsWidth
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer offset)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer[] offset)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer[] offset,
java.lang.String message)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer offset,
java.lang.String message)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer offset)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer[] offset)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer[] offset,
java.lang.String message)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreHorizontallyAligned(ElementStub leftElement,
ElementStub rightElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer offset,
java.lang.String message)
_areHorizontallyAligned checks whether two elements are horizontally aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer offset)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer[] offset)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer[] offset,
java.lang.String message)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer[] gap,
java.lang.Integer offset,
java.lang.String message)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer offset)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer[] offset)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer[] offset,
java.lang.String message)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotAreVerticallyAligned(ElementStub topElement,
ElementStub bottomElement,
java.lang.String position,
java.lang.Integer gap,
java.lang.Integer offset,
java.lang.String message)
_areVerticallyAligned checks whether two elements are vertically aligned or not.
|
void |
assertNotCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment)
_isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
void |
assertNotCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment,
java.lang.Integer offset)
_isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
void |
assertNotCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment,
java.lang.Integer[] offset)
_isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
void |
assertNotCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment,
java.lang.Integer[] offset,
java.lang.String message)
_isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
void |
assertNotCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment,
java.lang.Integer offset,
java.lang.String message)
_isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
void |
assertNotChecked(ElementStub el)
assertNotChecked
|
void |
assertNotChecked(ElementStub el,
java.lang.String message)
assertNotChecked
|
void |
assertNotContainsText(ElementStub element,
java.lang.String text)
assertNotContainsText
|
void |
assertNotContainsText(ElementStub element,
java.lang.String text,
java.lang.String message)
assertNotContainsText
|
void |
assertNotExists(ElementStub el)
assertNotExists
|
void |
assertNotExists(ElementStub el,
java.lang.String message)
assertNotExists
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2)
assertNotFitsHeight
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace)
assertNotFitsHeight
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace)
assertNotFitsHeight
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer bottomSpace)
assertNotFitsHeight
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] bottomSpace)
assertNotFitsHeight
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] bottomSpace,
java.lang.String message)
assertNotFitsHeight
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer bottomSpace,
java.lang.String message)
assertNotFitsHeight
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer bottomSpace)
assertNotFitsHeight
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] bottomSpace)
assertNotFitsHeight
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] bottomSpace,
java.lang.String message)
assertNotFitsHeight
|
void |
assertNotFitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer bottomSpace,
java.lang.String message)
assertNotFitsHeight
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2)
assertNotFitsWidth
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace)
assertNotFitsWidth
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace)
assertNotFitsWidth
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace,
java.lang.Integer rightSpace)
assertNotFitsWidth
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace,
java.lang.Integer[] rightSpace)
assertNotFitsWidth
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace,
java.lang.Integer[] rightSpace,
java.lang.String message)
assertNotFitsWidth
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace,
java.lang.Integer rightSpace,
java.lang.String message)
assertNotFitsWidth
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace,
java.lang.Integer rightSpace)
assertNotFitsWidth
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace,
java.lang.Integer[] rightSpace)
assertNotFitsWidth
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace,
java.lang.Integer[] rightSpace,
java.lang.String message)
assertNotFitsWidth
|
void |
assertNotFitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace,
java.lang.Integer rightSpace,
java.lang.String message)
assertNotFitsWidth
|
void |
assertNotOptions(ElementStub el,
java.lang.String type,
java.lang.String[] expected)
If we want the values of all the options of the selectbox:
|
void |
assertNotOptions(ElementStub el,
java.lang.String type,
java.lang.String[] expected,
java.lang.String message)
If we want the values of all the options of the selectbox:
|
void |
assertNotPosition(ElementStub el,
java.lang.Boolean relative,
java.lang.Integer[] expected)
This may be used to verify layouts by comparing positions of specific elements.
|
void |
assertNotPosition(ElementStub el,
java.lang.Boolean relative,
java.lang.Integer[] expected,
java.lang.String message)
This may be used to verify layouts by comparing positions of specific elements.
|
void |
assertNotSelectedText(ElementStub el,
java.lang.String expected)
assertNotSelectedText
|
void |
assertNotSelectedText(ElementStub el,
java.lang.String expected,
java.lang.String message)
assertNotSelectedText
|
void |
assertNotSelectionText(ElementStub el,
java.lang.String expected)
assertNotSelectionText
|
void |
assertNotSelectionText(ElementStub el,
java.lang.String expected,
java.lang.String message)
assertNotSelectionText
|
void |
assertNotText(ElementStub el,
java.lang.String expected)
The returned string is normalized for different browsers.
|
void |
assertNotText(ElementStub el,
java.lang.String expected,
java.lang.String message)
The returned string is normalized for different browsers.
|
void |
assertNotValue(ElementStub element,
java.lang.String expected)
assertNotValue
|
void |
assertNotValue(ElementStub element,
java.lang.String expected,
java.lang.String message)
assertNotValue
|
void |
assertNotVisible(ElementStub el)
assertNotVisible
|
void |
assertNotVisible(ElementStub el,
java.lang.Boolean checkZIndex)
assertNotVisible
|
void |
assertNotVisible(ElementStub el,
java.lang.Boolean checkZIndex,
java.lang.Boolean doScroll)
assertNotVisible
|
void |
assertNotVisible(ElementStub el,
java.lang.Boolean checkZIndex,
java.lang.Boolean doScroll,
java.lang.String message)
assertNotVisible
|
void |
assertNotVisiblyInside(ElementStub element1,
ElementStub element2)
_isVisiblyInside checks whether element1 is completely contained inside element2.
|
void |
assertNotVisiblyInside(ElementStub element1,
ElementStub element2,
java.lang.String message)
_isVisiblyInside checks whether element1 is completely contained inside element2.
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertNotVisiblyOn
|
void |
assertNotVisiblyOutside(ElementStub element1,
ElementStub element2)
_isVisiblyOutside checks whether element1 is completely outside element2 i.e one is not contained within other.
|
void |
assertNotVisiblyOutside(ElementStub element1,
ElementStub element2,
java.lang.String message)
_isVisiblyOutside checks whether element1 is completely outside element2 i.e one is not contained within other.
|
void |
assertOptions(ElementStub el,
java.lang.String type,
java.lang.String[] expected)
If we want the values of all the options of the selectbox:
|
void |
assertOptions(ElementStub el,
java.lang.String type,
java.lang.String[] expected,
java.lang.String message)
If we want the values of all the options of the selectbox:
|
void |
assertPosition(ElementStub el,
java.lang.Boolean relative,
java.lang.Integer[] expected)
This may be used to verify layouts by comparing positions of specific elements.
|
void |
assertPosition(ElementStub el,
java.lang.Boolean relative,
java.lang.Integer[] expected,
java.lang.String message)
This may be used to verify layouts by comparing positions of specific elements.
|
void |
assertSelectedText(ElementStub el,
java.lang.String expected)
assertSelectedText
|
void |
assertSelectedText(ElementStub el,
java.lang.String expected,
java.lang.String message)
assertSelectedText
|
void |
assertSelectionText(ElementStub el,
java.lang.String expected)
assertSelectionText
|
void |
assertSelectionText(ElementStub el,
java.lang.String expected,
java.lang.String message)
assertSelectionText
|
void |
assertText(ElementStub el,
java.lang.String expected)
The returned string is normalized for different browsers.
|
void |
assertText(ElementStub el,
java.lang.String expected,
java.lang.String message)
The returned string is normalized for different browsers.
|
void |
assertValue(ElementStub element,
java.lang.String expected)
assertValue
|
void |
assertValue(ElementStub element,
java.lang.String expected,
java.lang.String message)
assertValue
|
void |
assertVisible(ElementStub el)
assertVisible
|
void |
assertVisible(ElementStub el,
java.lang.Boolean checkZIndex)
assertVisible
|
void |
assertVisible(ElementStub el,
java.lang.Boolean checkZIndex,
java.lang.Boolean doScroll)
assertVisible
|
void |
assertVisible(ElementStub el,
java.lang.Boolean checkZIndex,
java.lang.Boolean doScroll,
java.lang.String message)
assertVisible
|
void |
assertVisiblyInside(ElementStub element1,
ElementStub element2)
_isVisiblyInside checks whether element1 is completely contained inside element2.
|
void |
assertVisiblyInside(ElementStub element1,
ElementStub element2,
java.lang.String message)
_isVisiblyInside checks whether element1 is completely contained inside element2.
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace,
java.lang.String message)
assertVisiblyOn
|
void |
assertVisiblyOutside(ElementStub element1,
ElementStub element2)
_isVisiblyOutside checks whether element1 is completely outside element2 i.e one is not contained within other.
|
void |
assertVisiblyOutside(ElementStub element1,
ElementStub element2,
java.lang.String message)
_isVisiblyOutside checks whether element1 is completely outside element2 i.e one is not contained within other.
|
ElementStub |
autoHideContainer(java.lang.Object... args) |
void |
blur(ElementStub element)
Similar to clicking somewhere else on the window to remove focus from given element.
|
ElementStub |
button(java.lang.Object... args) |
void |
byPassWaitMechanism(java.lang.Boolean b)
When set to true, it will not use the Sahi wait mechanism.
|
ElementStub |
cell(java.lang.Object... args) |
void |
check(ElementStub checkBoxOrRadioElement)
Checks the given checkbox or radio element.
|
ElementStub |
checkbox(java.lang.Object... args) |
ElementStub |
choice(java.lang.Object... args) |
void |
choose(ElementStub element,
java.lang.Integer optionToSelect)
Selects one or more elements in a select dropdown.
|
void |
choose(ElementStub element,
java.lang.Integer[] optionToSelect)
Selects one or more elements in a select dropdown.
|
void |
choose(ElementStub element,
java.lang.Integer[] optionToSelect,
java.lang.Boolean isMultiple)
Selects one or more elements in a select dropdown.
|
void |
choose(ElementStub element,
java.lang.Integer optionToSelect,
java.lang.Boolean isMultiple)
Selects one or more elements in a select dropdown.
|
void |
choose(ElementStub element,
java.lang.String optionToSelect)
Selects one or more elements in a select dropdown.
|
void |
choose(ElementStub element,
java.lang.String[] optionToSelect)
Selects one or more elements in a select dropdown.
|
void |
choose(ElementStub element,
java.lang.String[] optionToSelect,
java.lang.Boolean isMultiple)
Selects one or more elements in a select dropdown.
|
void |
choose(ElementStub element,
java.lang.String optionToSelect,
java.lang.Boolean isMultiple)
Selects one or more elements in a select dropdown.
|
void |
clearLastAlert()
Removes the last alert from session so that further occurrence of alerts can be checked
|
void |
clearLastConfirm()
Removes the last confirm from session so that further occurrence of confirms can be checked
|
void |
clearLastDownloadedFileName()
Clears out the _lastDownloadedFileName() so that further files can be downloaded and worked upon
|
void |
clearLastPrompt()
Removes the last prompt from session so that further occurrence of prompts can be checked
|
void |
clearLastSystemDialog()
Removes the last system dialog message from session so that further occurrence of system dialogs can be checked
|
void |
clearPrintCalled()
Resets _printCalled to false, so that _printCalled can be checked once more in the script.
|
void |
click(ElementStub element)
click simulates a user's click on the given element.
|
void |
click(ElementStub element,
java.lang.String combo)
click simulates a user's click on the given element.
|
void |
clickNative(ElementStub element)
Simulates a native click event on the element.
|
void |
clickNative(ElementStub element,
java.lang.String combo)
Simulates a native click event on the element.
|
void |
clickNative(ElementStub element,
java.lang.String combo,
java.lang.Boolean isRight)
Simulates a native click event on the element.
|
void |
clickNative(ElementStub element,
java.lang.String combo,
java.lang.Boolean isRight,
java.lang.Boolean isDouble)
Simulates a native click event on the element.
|
void |
clickNativeXY(java.lang.Integer x,
java.lang.Integer y)
Simulates a click event at the point (x,y).
|
void |
clickNativeXY(java.lang.Integer x,
java.lang.Integer y,
java.lang.String combo)
Simulates a click event at the point (x,y).
|
void |
clickNativeXY(java.lang.Integer x,
java.lang.Integer y,
java.lang.String combo,
java.lang.Boolean isRight)
Simulates a click event at the point (x,y).
|
void |
clickNativeXY(java.lang.Integer x,
java.lang.Integer y,
java.lang.String combo,
java.lang.Boolean isRight,
java.lang.Boolean isDouble)
Simulates a click event at the point (x,y).
|
void |
closeBrowser()
Closes the browsers in this session in the middle of a script.
|
void |
closeSAPConnection()
Closes the currently open SAP GUI connection.
|
void |
closeWindow()
Closes the window.
|
void |
closeWindow(java.lang.String title)
Closes the window.
|
void |
collapse(java.lang.Object element)
Collapses the tree node.
|
void |
collapse(java.lang.Object element,
java.lang.String identifier)
Collapses the tree node.
|
java.util.List<java.lang.String> |
collectAttributes(java.lang.String elementType,
java.lang.String identifier,
java.lang.Object attribute,
java.lang.Object... relations)
collectAttributes
|
java.util.List<java.lang.String> |
collectAttributes(java.lang.String elementType,
java.lang.String identifier,
java.lang.String attribute,
java.lang.Object... relations)
collectAttributes
|
java.lang.Boolean |
compareImages(java.lang.String f1,
java.lang.String f2)
Takes the path of the 2 images and checks if both images are same or not.
|
java.lang.Boolean |
compareImages(java.lang.String f1,
java.lang.String f2,
java.lang.Object differenceThreshold)
Takes the path of the 2 images and checks if both images are same or not.
|
java.lang.String |
connectDevice()
Connects to a Mobile Device.
|
java.lang.String |
connectDevice(java.lang.String deviceId)
Connects to a Mobile Device.
|
java.lang.Boolean |
contains(ElementStub parent,
ElementStub child)
contains
|
java.lang.Boolean |
containsHTML(ElementStub element,
java.lang.String html)
containsHTML
|
java.lang.Boolean |
containsText(ElementStub element,
java.lang.String text)
containsText
|
void |
continueOnError()
Forces script to continue inspite of error.
|
java.lang.String |
cookie(java.lang.String name)
cookie
|
java.lang.String |
cookie(java.lang.String name,
java.lang.String path)
cookie
|
java.lang.Integer |
count(java.lang.String elementType,
java.lang.Object identifier,
java.lang.Object... relations)
count
|
java.lang.Integer |
count(java.lang.String elementType,
java.lang.String identifier,
java.lang.Object... relations)
count
|
void |
crawlWebsite(java.lang.String websiteURL,
java.lang.Integer depth,
java.lang.String csvOutputFilePath)
This api is used for testing links on a website.
|
void |
createCookie(java.lang.String name,
java.lang.String value,
java.lang.Integer days)
createCookie
|
void |
createNewSAPSession()
Opens a new SAP GUI session from the existing SAP GUI session.
|
ElementStub |
customButton(java.lang.Object... args) |
ElementStub |
customIcon(java.lang.Object... args) |
void |
deleteCookie(java.lang.String name)
Deletes the cookie with given name for the current page.
|
ElementStub |
diamondIcon(java.lang.Object... args) |
void |
disableKeepAlive()
disableKeepAlive() turns off Keep-Alive between browser and proxy.
|
void |
disableScroll()
Disables automatic horizontal and vertical scrolling for element identification.
|
void |
doubleClick(ElementStub element)
doubleClick simulates a user's click on the given element.
|
void |
doubleClick(ElementStub element,
java.lang.String combo)
doubleClick simulates a user's click on the given element.
|
void |
doubleClickNative(ElementStub element)
Simulates a native double click event on the element.
|
void |
doubleClickNative(ElementStub element,
java.lang.String combo)
Simulates a native double click event on the element.
|
void |
drag(java.lang.Object dragElement)
Simulates a drag action
|
void |
dragDrop(ElementStub dragElement,
ElementStub dropElement)
Simulates a drag and drop action
|
void |
dragDrop(ElementStub dragElement,
ElementStub dropElement,
java.lang.String windowName)
Simulates a drag and drop action
|
void |
dragDropNative(ElementStub el,
ElementStub el2)
Simulates a dragdrop event from element 1 to element 2 using native events.
|
void |
dragDropNativeXY(java.lang.Integer x1,
java.lang.Integer y1,
java.lang.Integer x2,
java.lang.Integer y2)
Simulates a dragdrop event from element at first set of coordinates to element at second set of coordinates, using native events.
|
void |
dragDropXY(ElementStub dragElement,
java.lang.Integer x,
java.lang.Integer y)
dragDropXY simulates a drag and drop action.
|
void |
dragDropXY(ElementStub dragElement,
java.lang.Integer x,
java.lang.Integer y,
java.lang.Boolean isRelative)
dragDropXY simulates a drag and drop action.
|
void |
dragNative(java.lang.Object element)
Simulates a drag action
|
void |
drop(java.lang.Object dropElement)
Simulates a drag and drop action
|
void |
dropFile(java.lang.String filePath,
ElementStub dropElement)
dropFile simulates file drop.
|
void |
dropNative(java.lang.Object element)
Simulates a drop action
|
void |
enableHorizontalScroll()
Enables automatic horizontal scrolling and disables vertical scrolling for element identification.
|
void |
enableHorizontalScroll(java.lang.Object element)
Enables automatic horizontal scrolling and disables vertical scrolling for element identification.
|
void |
enableHorizontalScroll(java.lang.Object element,
java.lang.Integer maxScrollCount)
Enables automatic horizontal scrolling and disables vertical scrolling for element identification.
|
void |
enableKeepAlive()
enableKeepAlive() turns on Keep-Alive between browser and proxy.
|
void |
enableVerticalScroll()
Enables automatic vertical scrolling and disables horizontal scrolling for element identification.
|
void |
enableVerticalScroll(java.lang.Object element)
Enables automatic vertical scrolling and disables horizontal scrolling for element identification.
|
void |
enableVerticalScroll(java.lang.Object element,
java.lang.Integer maxScrollCount)
Enables automatic vertical scrolling and disables horizontal scrolling for element identification.
|
java.lang.String |
encrypt(java.lang.String password)
Example
|
java.lang.String |
execute(java.lang.String cmd)
execute allows calling batch files, shell scripts or regular commands from Sahi script.
|
java.lang.String |
execute(java.lang.String cmd,
java.lang.Boolean isSync)
execute allows calling batch files, shell scripts or regular commands from Sahi script.
|
java.lang.String |
execute(java.lang.String cmd,
java.lang.Boolean isSync,
java.lang.Integer timeout)
execute allows calling batch files, shell scripts or regular commands from Sahi script.
|
java.lang.Boolean |
exists(ElementStub el)
exists
|
void |
expand(java.lang.Object element)
Expands the tree node.
|
void |
expand(java.lang.Object element,
java.lang.String identifier)
Expands the tree node.
|
void |
expectAlert(java.lang.String message)
expectAlert tells Sahi to react with OK for a dialog with given message.
|
void |
expectAlert(java.lang.String message,
java.lang.Boolean persist)
expectAlert tells Sahi to react with OK for a dialog with given message.
|
void |
expectConfirm(java.lang.String message,
java.lang.Boolean value)
expectConfirm tells Sahi to react with OK or Cancel for a dialog with given message.
|
void |
expectConfirm(java.lang.String message,
java.lang.Boolean value,
java.lang.Boolean persist)
expectConfirm tells Sahi to react with OK or Cancel for a dialog with given message.
|
void |
expectPrint()
expectPrint tells Sahi to react with CANCEL for a print dialog.
|
void |
expectPrint(java.lang.Boolean persist)
expectPrint tells Sahi to react with CANCEL for a print dialog.
|
void |
expectPrompt(java.lang.String promptMessage,
java.lang.String response)
expectPrompt tells Sahi to respond with given response for a prompt dialog with given promptMessage.
|
void |
expectPrompt(java.lang.String promptMessage,
java.lang.String response,
java.lang.Boolean persist)
expectPrompt tells Sahi to respond with given response for a prompt dialog with given promptMessage.
|
void |
expectSystemDialog(java.lang.String message,
java.lang.Integer buttonIdentifier)
iExpectSystemDialog tells Sahi to click the button with the given buttonIdentifier, for a dialog with given message.
|
void |
expectSystemDialog(java.lang.String message,
java.lang.Integer buttonIdentifier,
java.lang.Boolean persist)
iExpectSystemDialog tells Sahi to click the button with the given buttonIdentifier, for a dialog with given message.
|
void |
expectSystemDialog(java.lang.String message,
java.lang.String buttonIdentifier)
iExpectSystemDialog tells Sahi to click the button with the given buttonIdentifier, for a dialog with given message.
|
void |
expectSystemDialog(java.lang.String message,
java.lang.String buttonIdentifier,
java.lang.Boolean persist)
iExpectSystemDialog tells Sahi to click the button with the given buttonIdentifier, for a dialog with given message.
|
java.lang.Boolean |
fitsHeight(ElementStub element1,
ElementStub element2)
fitsHeight
|
java.lang.Boolean |
fitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace)
fitsHeight
|
java.lang.Boolean |
fitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace)
fitsHeight
|
java.lang.Boolean |
fitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer bottomSpace)
fitsHeight
|
java.lang.Boolean |
fitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] bottomSpace)
fitsHeight
|
java.lang.Boolean |
fitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer bottomSpace)
fitsHeight
|
java.lang.Boolean |
fitsHeight(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] bottomSpace)
fitsHeight
|
java.lang.Boolean |
fitsWidth(ElementStub element1,
ElementStub element2)
fitsWidth
|
java.lang.Boolean |
fitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace)
fitsWidth
|
java.lang.Boolean |
fitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace)
fitsWidth
|
java.lang.Boolean |
fitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace,
java.lang.Integer rightSpace)
fitsWidth
|
java.lang.Boolean |
fitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer[] leftSpace,
java.lang.Integer[] rightSpace)
fitsWidth
|
java.lang.Boolean |
fitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace,
java.lang.Integer rightSpace)
fitsWidth
|
java.lang.Boolean |
fitsWidth(ElementStub element1,
ElementStub element2,
java.lang.Integer leftSpace,
java.lang.Integer[] rightSpace)
fitsWidth
|
void |
focus(ElementStub element)
Brings focus to given element.
|
void |
focusWindow()
Brings the window above all other windows.
|
java.lang.Boolean |
getApplicationState(java.lang.Object bundleId)
Returns state of application.
|
java.lang.String |
getAttribute(ElementStub el,
java.lang.String attributeName)
getAttribute
|
java.lang.Integer[] |
getCellIndex(java.lang.Object tableEl)
getCellIndex
|
java.lang.String |
getIconPath(java.lang.Object element)
getIconPath
|
java.lang.String |
getLayout()
Returns string representing page layout.
|
java.lang.String |
getLayout(java.lang.Object elementAPIs)
Returns string representing page layout.
|
java.lang.String |
getLayout(java.lang.Object elementAPIs,
java.lang.Object elements)
Returns string representing page layout.
|
java.lang.String[] |
getOptions(ElementStub el)
If we want the values of all the options of the selectbox:
|
java.lang.String[] |
getOptions(ElementStub el,
java.lang.String type)
If we want the values of all the options of the selectbox:
|
java.lang.String |
getOrientation()
Returns device orientation, for example: , , ,
|
java.util.Map<java.lang.String,java.lang.String> |
getRecentWindow()
Returns the most recent (last opened) window.
|
java.lang.Integer[] |
getScreenSize()
getScreenSize
|
java.lang.String[] |
getSelectedText(ElementStub el)
getSelectedText
|
java.lang.String |
getSelectionText()
getSelectionText
|
java.lang.String |
getSelectionText(ElementStub el)
getSelectionText
|
java.lang.String[] |
getSessionId()
Example
|
java.lang.String[] |
getSessionId(java.lang.String windowIdentifier)
Example
|
java.util.Map<java.lang.String,java.lang.String> |
getStatusInformation()
Gets the status information from the status bar of the current SAP GUI window.
|
java.lang.String[][] |
getTableContents(ElementStub tableEl)
getTableContents
|
java.lang.String[][] |
getTableContents(ElementStub tableEl,
java.lang.Object[] columns)
getTableContents
|
java.lang.String[][] |
getTableContents(ElementStub tableEl,
java.lang.Object[] columns,
java.lang.Integer rows)
getTableContents
|
java.lang.String[][] |
getTableContents(ElementStub tableEl,
java.lang.Object[] columns,
java.lang.Integer[] rows)
getTableContents
|
java.lang.String[][] |
getTableContents(ElementStub tableEl,
java.lang.Object[] columns,
java.lang.Integer[] rows,
java.lang.Integer count)
getTableContents
|
java.lang.String[][] |
getTableContents(ElementStub tableEl,
java.lang.Object[] columns,
java.lang.Integer rows,
java.lang.Integer count)
getTableContents
|
java.lang.String[][] |
getTableContents(ElementStub tableEl,
java.lang.Object[] columns,
java.lang.String rows)
getTableContents
|
java.lang.String[][] |
getTableContents(ElementStub tableEl,
java.lang.Object[] columns,
java.lang.String rows,
java.lang.Integer count)
getTableContents
|
java.lang.String |
getText(ElementStub el)
The returned string is normalized for different browsers.
|
java.lang.String |
getValue(ElementStub element)
getValue
|
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getWindows()
Returns an array of window-property objects.
|
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getWindows(java.lang.Integer activePeriod)
Returns an array of window-property objects.
|
void |
highlight(ElementStub element)
Highlights an element with a red border.
|
void |
htmlFormSubmit(ElementStub element,
java.lang.String frameName,
java.lang.String postData,
java.lang.String url)
Submits an HTML form for an element.
|
ElementStub |
imageIcon(java.lang.Object... args) |
void |
interactWithApp()
For iOS to invoke the system dialog handler, the app has to be interacted with.
|
java.lang.Boolean |
isCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment)
isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
java.lang.Boolean |
isCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment,
java.lang.Integer offset)
isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
java.lang.Boolean |
isCentered(ElementStub element,
ElementStub containerElement,
java.lang.String alignment,
java.lang.Integer[] offset)
isCentered checks whether inner element is vertically or horizontally centered to the container element.
|
java.lang.Boolean |
isChecked(ElementStub el)
isChecked
|
java.lang.Boolean |
isChrome()
isChrome
|
java.lang.Boolean |
isDevice()
Returns true if the running platform is an iOS device.
|
java.lang.Boolean |
isEdge()
isEdge
|
java.lang.Boolean |
isEdgeNew()
isEdgeNew
|
java.lang.Boolean |
isEnabled(java.lang.Object element)
isEnabled
|
java.lang.Boolean |
isFF()
isFF
|
java.lang.Boolean |
isFF3()
isFF3
|
java.lang.Boolean |
isFF4()
isFF4
|
java.lang.Boolean |
isHorizontalScrollEnabled()
Returns true if automatic horizontal scrolling has been enabled by calling _aEnableHorizontalScroll().
|
java.lang.Boolean |
isHTMLUnit()
isHTMLUnit
|
java.lang.Boolean |
isIE()
isIE
|
java.lang.Boolean |
isIE10()
isIE10
|
java.lang.Boolean |
isIE9()
isIE9
|
java.lang.Boolean |
isOpera()
isOpera
|
java.lang.Boolean |
isPhantomJS()
isPhantomJS
|
java.lang.Boolean |
isSafari()
isSafari
|
java.lang.Boolean |
isScreenOn()
Returns true or false based on screen is ON or OFF.
|
java.lang.Boolean |
isScrollEnabled()
Returns true if automatic horizontal or vertical scrolling has been enabled by calling _aEnableVerticalScroll() or _aEnableHorizontalScroll().
|
java.lang.Boolean |
isSelected(java.lang.Object element)
Returns true if the element is selected.
|
java.lang.Boolean |
isVerticalScrollEnabled()
Returns true if automatic vertical scrolling has been enabled by calling _aEnableVerticalScroll().
|
java.lang.Boolean |
isVisible(ElementStub el)
isVisible
|
java.lang.Boolean |
isVisible(ElementStub el,
java.lang.Boolean checkZIndex)
isVisible
|
java.lang.Boolean |
isVisible(ElementStub el,
java.lang.Boolean checkZIndex,
java.lang.Boolean doScroll)
isVisible
|
java.lang.Boolean |
isVisiblyInside(ElementStub element1,
ElementStub element2)
isVisiblyInside checks whether element1 is completely contained inside element2.
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer[] topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer[] rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer[] bottomSpace,
java.lang.Integer[] leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOn(ElementStub element1,
ElementStub element2,
java.lang.Integer topSpace,
java.lang.Integer rightSpace,
java.lang.Integer bottomSpace,
java.lang.Integer[] leftSpace)
isVisiblyOn
|
java.lang.Boolean |
isVisiblyOutside(ElementStub element1,
ElementStub element2)
isVisiblyOutside checks whether element1 is completely outside element2 i.e one is not contained within other.
|
ElementStub |
jButton(java.lang.Object... args) |
ElementStub |
jCheckBox(java.lang.Object... args) |
ElementStub |
jCheckBoxMenuItem(java.lang.Object... args) |
ElementStub |
jComboBox(java.lang.Object... args) |
ElementStub |
jComponent(java.lang.Object... args) |
ElementStub |
jDialog(java.lang.Object... args) |
ElementStub |
jEditorPane(java.lang.Object... args) |
ElementStub |
jLabel(java.lang.Object... args) |
ElementStub |
jLayeredPane(java.lang.Object... args) |
ElementStub |
jList(java.lang.Object... args) |
ElementStub |
jListItem(java.lang.Object... args) |
ElementStub |
jMenu(java.lang.Object... args) |
ElementStub |
jMenuItem(java.lang.Object... args) |
ElementStub |
jOptionPane(java.lang.Object... args) |
ElementStub |
jPanel(java.lang.Object... args) |
ElementStub |
jPasswordField(java.lang.Object... args) |
ElementStub |
jPopupMenu(java.lang.Object... args) |
ElementStub |
jProgressBar(java.lang.Object... args) |
ElementStub |
jRadioButton(java.lang.Object... args) |
ElementStub |
jRadioButtonMenuItem(java.lang.Object... args) |
ElementStub |
jRootPane(java.lang.Object... args) |
ElementStub |
jScrollbar(java.lang.Object... args) |
ElementStub |
jScrollPane(java.lang.Object... args) |
ElementStub |
jSlider(java.lang.Object... args) |
ElementStub |
jTabbedPane(java.lang.Object... args) |
ElementStub |
jTable(java.lang.Object... args) |
ElementStub |
jTableHeader(java.lang.Object... args) |
ElementStub |
jTextArea(java.lang.Object... args) |
ElementStub |
jTextField(java.lang.Object... args) |
ElementStub |
jTextPane(java.lang.Object... args) |
ElementStub |
jToggleButton(java.lang.Object... args) |
ElementStub |
jToolBar(java.lang.Object... args) |
ElementStub |
jTree(java.lang.Object... args) |
ElementStub |
jTreeItem(java.lang.Object... args) |
void |
keyDown(ElementStub element,
java.lang.Integer charInfo)
Simulates pressing down a key on the given element.
|
void |
keyDown(ElementStub element,
java.lang.Integer charInfoKeyCode,
java.lang.Integer charInfoCharCode)
Simulates pressing down a key on the given element.
|
void |
keyDown(ElementStub element,
java.lang.Integer charInfoKeyCode,
java.lang.Integer charInfoCharCode,
java.lang.String combo)
Simulates pressing down a key on the given element.
|
void |
keyDown(ElementStub element,
java.lang.Integer charInfo,
java.lang.String combo)
Simulates pressing down a key on the given element.
|
void |
keyDown(ElementStub element,
java.lang.String charInfo)
Simulates pressing down a key on the given element.
|
void |
keyDown(ElementStub element,
java.lang.String charInfo,
java.lang.String combo)
Simulates pressing down a key on the given element.
|
void |
keyPress(ElementStub element,
java.lang.Integer keyInfo)
Simulates pressing a key on the given element.
|
void |
keyPress(ElementStub element,
java.lang.Integer[] keyInfo)
Simulates pressing a key on the given element.
|
void |
keyPress(ElementStub element,
java.lang.Integer[] keyInfo,
java.lang.String combo)
Simulates pressing a key on the given element.
|
void |
keyPress(ElementStub element,
java.lang.Integer keyInfo,
java.lang.String combo)
Simulates pressing a key on the given element.
|
void |
keyPress(ElementStub element,
java.lang.String keyInfo)
Simulates pressing a key on the given element.
|
void |
keyPress(ElementStub element,
java.lang.String keyInfo,
java.lang.String combo)
Simulates pressing a key on the given element.
|
void |
keyUp(ElementStub element,
java.lang.Integer charInfo)
Simulates releasing a key press on the given element.
|
void |
keyUp(ElementStub element,
java.lang.Integer charInfoKeyCode,
java.lang.Integer charInfoCharCode)
Simulates releasing a key press on the given element.
|
void |
keyUp(ElementStub element,
java.lang.Integer charInfoKeyCode,
java.lang.Integer charInfoCharCode,
java.lang.String combo)
Simulates releasing a key press on the given element.
|
void |
keyUp(ElementStub element,
java.lang.Integer charInfo,
java.lang.String combo)
Simulates releasing a key press on the given element.
|
void |
keyUp(ElementStub element,
java.lang.String charInfo)
Simulates releasing a key press on the given element.
|
void |
keyUp(ElementStub element,
java.lang.String charInfo,
java.lang.String combo)
Simulates releasing a key press on the given element.
|
ElementStub |
label(java.lang.Object... args) |
java.lang.String |
lastAlert()
lastAlert
|
java.lang.String[] |
lastAlerts()
lastAlert
|
java.lang.String |
lastConfirm()
lastConfirm
|
java.lang.String[] |
lastConfirms()
lastConfirm
|
java.lang.String |
lastDownloadedFileName()
Returns the last downloaded file name.
|
java.lang.String |
lastPrompt()
lastPrompt
|
java.lang.String[] |
lastPrompts()
lastPrompt
|
java.lang.String |
lastSystemDialog()
iLastSystemDialog
|
java.lang.String[] |
lastSystemDialogs()
iLastSystemDialog
|
void |
launchJavaApplication(java.lang.String applicationPath,
java.lang.String applicationLaunchCommand)
Launch Java Application.
|
void |
launchJavaWSApplication(java.lang.String applicationPath)
Launch Java Web Start Application.
|
java.lang.String |
launchNewBrowser()
launchNewBrowser
|
java.lang.String |
launchNewBrowser(java.lang.String url)
launchNewBrowser
|
java.lang.String |
launchNewBrowser(java.lang.String url,
java.lang.String browserType)
launchNewBrowser
|
java.lang.String |
launchNewMobileBrowser(java.lang.String deviceId)
Returns the browserInstanceId
|
java.lang.String |
launchNewMobileBrowser(java.lang.String deviceId,
java.lang.String url)
Returns the browserInstanceId
|
java.lang.String |
launchNewMobileBrowser2()
Returns the browserInstanceId.
|
java.lang.String |
launchNewMobileBrowser2(java.lang.String deviceId)
Returns the browserInstanceId.
|
java.lang.String |
launchNewMobileBrowser2(java.lang.String deviceId,
java.lang.String url)
Returns the browserInstanceId.
|
void |
launchSAPGUI()
Launches SAP GUI logon pad.
|
ElementStub |
list(java.lang.Object... args) |
java.lang.String |
lock(java.lang.String name)
Acquires a lock with given name.
|
java.lang.String |
lock(java.lang.String name,
java.lang.Integer timeout)
Acquires a lock with given name.
|
void |
lockWindow()
This is a more specific version of the _lock API.
|
void |
lockWindow(java.lang.Object timeout)
This is a more specific version of the _lock API.
|
void |
longClick(java.lang.Object element)
mLongClick simulates a user's long click on the given element.
|
void |
longClick(java.lang.Object element,
java.lang.Integer duration)
mLongClick simulates a user's long click on the given element.
|
void |
mapDomainToIP(java.lang.String urlBase,
java.lang.Object ip)
Used to map a domain to a specific IP.
|
void |
mapDomainToIP(java.lang.String urlBase,
java.lang.String ip)
Used to map a domain to a specific IP.
|
void |
maximizeWindow()
Maximizes an existing SAP GUI window having the specified title.
|
void |
maximizeWindow(java.lang.String title)
Maximizes an existing SAP GUI window having the specified title.
|
ElementStub |
menu(java.lang.Object... args) |
void |
minimizeWindow()
Minimizes an existing SAP GUI window having the specified title.
|
void |
minimizeWindow(java.lang.String title)
Minimizes an existing SAP GUI window having the specified title.
|
void |
mockImage(java.lang.String pattern)
Similar to _addMock, but by default sends back an image.
|
void |
mockImage(java.lang.String pattern,
java.lang.String class_method)
Similar to _addMock, but by default sends back an image.
|
void |
mouseDown(ElementStub element)
mouseDown simulates a mousedown on the given element.
|
void |
mouseDown(ElementStub element,
java.lang.Boolean isRight)
mouseDown simulates a mousedown on the given element.
|
void |
mouseDown(ElementStub element,
java.lang.Boolean isRight,
java.lang.String combo)
mouseDown simulates a mousedown on the given element.
|
void |
mouseOver(ElementStub element)
mouseOver simulates mouse hovering on the given element.
|
void |
mouseOver(ElementStub element,
java.lang.String combo)
mouseOver simulates mouse hovering on the given element.
|
void |
mouseOverNative(ElementStub element)
Simulates a native mouse over event on the element.
|
void |
mouseOverNative(ElementStub element,
java.lang.String combo)
Simulates a native mouse over event on the element.
|
void |
mouseUp(ElementStub element)
simulates a mouseup on the given element.
|
void |
mouseUp(ElementStub element,
java.lang.Boolean isRight)
simulates a mouseup on the given element.
|
void |
mouseUp(ElementStub element,
java.lang.Boolean isRight,
java.lang.String combo)
simulates a mouseup on the given element.
|
void |
navigateTo(java.lang.String url)
navigateTo loads the given url in the top frame of the window.
|
void |
navigateTo(java.lang.String url,
java.lang.Boolean forceReload)
navigateTo loads the given url in the top frame of the window.
|
void |
openSAPConnection(java.lang.String connectionName)
Opens the specified SAP GUI connection.
|
void |
openWindow()
Opens a new browser window.
|
void |
openWindow(java.lang.String url)
Opens a new browser window.
|
void |
openWindow(java.lang.String url,
java.lang.String name)
Opens a new browser window.
|
void |
openWindow(java.lang.String url,
java.lang.String name,
java.lang.Integer[] size)
Opens a new browser window.
|
ElementStub |
orButton(java.lang.Object... args) |
ElementStub |
orButtonBar(java.lang.Object... args) |
ElementStub |
orDrawnPanel(java.lang.Object... args) |
ElementStub |
orEwtContainer(java.lang.Object... args) |
ElementStub |
orEwtLWScrollbar(java.lang.Object... args) |
ElementStub |
orExtendedCheckbox(java.lang.Object... args) |
ElementStub |
orExtendedFrame(java.lang.Object... args) |
ElementStub |
orFLWTextArea(java.lang.Object... args) |
ElementStub |
orFormattedTextField(java.lang.Object... args) |
ElementStub |
orFormButton(java.lang.Object... args) |
ElementStub |
orFormDesktopContainer(java.lang.Object... args) |
ElementStub |
orFormsTabPanel(java.lang.Object... args) |
ElementStub |
orFWindow(java.lang.Object... args) |
ElementStub |
orImageCanvas(java.lang.Object... args) |
ElementStub |
orListView(java.lang.Object... args) |
ElementStub |
orLWCheckbox(java.lang.Object... args) |
ElementStub |
orLWContainer(java.lang.Object... args) |
ElementStub |
orLWDataSourceList(java.lang.Object... args) |
ElementStub |
orLWLabel(java.lang.Object... args) |
ElementStub |
orLWMenuBar(java.lang.Object... args) |
ElementStub |
orLWMenuItem(java.lang.Object... args) |
ElementStub |
orLWMenuSeparator(java.lang.Object... args) |
ElementStub |
orLWScrollbar(java.lang.Object... args) |
ElementStub |
orLWStatusBar(java.lang.Object... args) |
ElementStub |
orLWStatusBarTextItem(java.lang.Object... args) |
ElementStub |
orLWTextField(java.lang.Object... args) |
ElementStub |
orMultiLineLabel(java.lang.Object... args) |
ElementStub |
orPushButton(java.lang.Object... args) |
ElementStub |
orTabBar(java.lang.Object... args) |
ElementStub |
orTitleBar(java.lang.Object... args) |
ElementStub |
orToolBar(java.lang.Object... args) |
ElementStub |
orVButton(java.lang.Object... args) |
ElementStub |
orVPopList(java.lang.Object... args) |
ElementStub |
orVTextField(java.lang.Object... args) |
ElementStub |
orVTList(java.lang.Object... args) |
java.lang.String |
oSVersion()
Android: Returns the SDK Level of the Android device, for example: 21 for Lollypop, 20 for Kitkat etc.
|
ElementStub |
password(java.lang.Object... args) |
void |
pinchClose(java.lang.Object element,
java.lang.Object percent,
java.lang.Integer speed)
Performs a pinch close gesture on the given element.
|
void |
pinchClose(java.lang.Object element,
java.lang.Object percent,
java.lang.Object speed)
Performs a pinch close gesture on the given element.
|
void |
pinchOpen(java.lang.Object element,
java.lang.Object percent,
java.lang.Integer speed)
Performs a pinch open gesture on the given element.
|
void |
pinchOpen(java.lang.Object element,
java.lang.Object percent,
java.lang.Object speed)
Performs a pinch open gesture on the given element.
|
java.lang.Integer[] |
position(ElementStub el)
This may be used to verify layouts by comparing positions of specific elements.
|
java.lang.Integer[] |
position(ElementStub el,
java.lang.Boolean relative)
This may be used to verify layouts by comparing positions of specific elements.
|
java.lang.Integer[] |
positionNative(ElementStub el)
This may be used inside native events to find the absolute positions of elements.
|
void |
pressBack()
aPressBack Performs a Back action.
|
void |
pressDelete()
aPressDelete Simulates a press on the DELETE key.
|
void |
pressEnter()
aPressEnter Simulates a press on the ENTER key.
|
void |
pressHome()
Brings up the Home screen.
|
void |
pressMenu()
aPressMenu Simulates a press on the MENU button.
|
void |
pressRecentApps()
aPressRecentApps Brings up the Recent Apps screen.
|
void |
pressSearch()
aPressSearch Brings up the Search box.
|
void |
pressVolumeDown()
Simulates volume down action on an iOS Device.
|
void |
pressVolumeUp()
Simulates volume up action on an iOS Device.
|
java.lang.Boolean |
printCalled()
printCalled
|
ElementStub |
radio(java.lang.Object... args) |
java.lang.String[][] |
readExcelFile(java.lang.String filePath)
Reads the excel sheet and returns data as an associative array.
|
java.lang.String[][] |
readExcelFile(java.lang.String filePath,
java.lang.String sheetName)
Reads the excel sheet and returns data as an associative array.
|
java.lang.String[][] |
readExcelFile(java.lang.String filePath,
java.lang.String sheetName,
java.lang.Object props)
Reads the excel sheet and returns data as an associative array.
|
java.lang.String |
readURL(java.lang.String url)
Sends a GET request to the URL and returns response body as a string.
|
void |
removeFocus(ElementStub element)
Similar to clicking somewhere else on the window to remove focus from given element.
|
void |
removeHttpHeader(java.lang.String key)
Removes a particular HTTP header.
|
void |
removeMock(java.lang.String pattern)
removeMock
|
void |
removeResponseSubstitutionRule(java.lang.String name)
Removes the response substitution rule for all further responces coming in this browser session.
|
void |
resetHttpHeader(java.lang.String key)
If _addHttpHeader or _setHttpHeader or _removeHttpHeader had been called in this session before,
|
void |
resizeWindow(java.lang.String title,
java.lang.Integer width,
java.lang.Integer height)
Resizes an existing SAP GUI window having the specified title with the specified dimensions.
|
void |
restoreWindow()
Restores an existing SAP GUI window having the specified title from its minimized state.
|
void |
restoreWindow(java.lang.String title)
Restores an existing SAP GUI window having the specified title from its minimized state.
|
void |
rightClick(ElementStub element)
rightClick simulates a user's click on the given element.
|
void |
rightClick(ElementStub element,
java.lang.String combo)
rightClick simulates a user's click on the given element.
|
void |
rightClickNative(ElementStub element)
Simulates a native right click event on the element.
|
void |
rightClickNative(ElementStub element,
java.lang.String combo)
Simulates a native right click event on the element.
|
void |
rotate(java.lang.Object element,
java.lang.Object rotationAngle,
java.lang.Object velocity)
Simulates a rotation gesture on an element.
|
java.lang.String |
rteHTML(ElementStub el)
rteHTML
|
java.lang.String |
rteText(ElementStub el)
rteText
|
void |
rteWrite(ElementStub rte,
java.lang.String html)
Replaces the content of the RTE with given HTML.
|
void |
saveDownloadedAs(java.lang.String path)
Renames/copies the file into specified directory for further processing.
|
ElementStub |
scrollbar(java.lang.Object... args) |
java.lang.Boolean |
scrollBottomMost(java.lang.Object element)
Scrolls the element's contents to the bottommost position, i.e.
|
java.lang.Boolean |
scrollBottomMost(java.lang.Object element,
java.lang.Integer maxSwipes)
Scrolls the element's contents to the bottommost position, i.e.
|
java.lang.Boolean |
scrollDown(java.lang.Object element)
Scrolls the element's contents one page down.
|
java.lang.Boolean |
scrollDown(java.lang.Object element,
java.lang.Object percent)
Scrolls the element's contents one page down.
|
java.lang.Boolean |
scrollDown(java.lang.Object element,
java.lang.Object percent,
java.lang.Integer speed)
Scrolls the element's contents one page down.
|
java.lang.Boolean |
scrollLeft(java.lang.Object element)
Scrolls the element's contents one page to the left.
|
java.lang.Boolean |
scrollLeft(java.lang.Object element,
java.lang.Object percent)
Scrolls the element's contents one page to the left.
|
java.lang.Boolean |
scrollLeft(java.lang.Object element,
java.lang.Object percent,
java.lang.Integer speed)
Scrolls the element's contents one page to the left.
|
java.lang.Boolean |
scrollLeftMost(java.lang.Object element)
Scrolls the element's contents to the leftmost position, i.e.
|
java.lang.Boolean |
scrollLeftMost(java.lang.Object element,
java.lang.Integer maxSwipes)
Scrolls the element's contents to the leftmost position, i.e.
|
java.lang.Boolean |
scrollRight(java.lang.Object element)
Scrolls the element's contents one page to the right.
|
java.lang.Boolean |
scrollRight(java.lang.Object element,
java.lang.Object percent)
Scrolls the element's contents one page to the right.
|
java.lang.Boolean |
scrollRight(java.lang.Object element,
java.lang.Object percent,
java.lang.Integer speed)
Scrolls the element's contents one page to the right.
|
java.lang.Boolean |
scrollRightMost(java.lang.Object element)
Scrolls the element's contents to the rightmost position, i.e.
|
java.lang.Boolean |
scrollRightMost(java.lang.Object element,
java.lang.Integer maxSwipes)
Scrolls the element's contents to the rightmost position, i.e.
|
java.lang.Boolean |
scrollTopMost(java.lang.Object element)
Scrolls the element's contents to the topmost position, i.e.
|
java.lang.Boolean |
scrollTopMost(java.lang.Object element,
java.lang.Integer maxSwipes)
Scrolls the element's contents to the topmost position, i.e.
|
java.lang.Boolean |
scrollUp(java.lang.Object element)
Scrolls the element's contents one page up.
|
java.lang.Boolean |
scrollUp(java.lang.Object element,
java.lang.Object percent)
Scrolls the element's contents one page up.
|
java.lang.Boolean |
scrollUp(java.lang.Object element,
java.lang.Object percent,
java.lang.Integer speed)
Scrolls the element's contents one page up.
|
void |
selectBrowser()
Selects the particular browser instance.
|
void |
selectBrowser(java.lang.String browserInstanceId)
Selects the particular browser instance.
|
void |
selectColumns(ElementStub element,
java.lang.String columns)
Selects the specified columns in the specified table element.
|
void |
selectDevice()
Selects the particular device instance.
|
void |
selectDevice(java.lang.String deviceInstanceId)
Selects the particular device instance.
|
void |
selectDomain()
selectDomain
|
void |
selectDomain(java.lang.String domainIdentifier)
selectDomain
|
void |
selectRange(ElementStub element,
java.lang.Integer rangeStart,
java.lang.Integer rangeEnd)
Example:
|
void |
selectRows(ElementStub element,
java.lang.String rows)
Selects the specified row(s) in the specified table element.
|
void |
selectTextRange(ElementStub element,
java.lang.String searchText)
Example:
|
void |
selectTextRange(ElementStub element,
java.lang.String searchText,
java.lang.String position)
Example:
|
void |
sendHTMLResponseAfterFileDownload(java.lang.Boolean enable)
Forces Sahi to send back an HTML response after file download.
|
void |
setAccessorIgnoreCase(java.lang.Boolean isIgnore)
If is called, on further statements, case differences will be ignored in identifiers of Accessors.
|
void |
setAutoDismissKeyboard(java.lang.Boolean autoDismiss)
By default, Sahi will try to dismiss keyboard automatically after setting value in the textfield.
|
void |
setCell(java.lang.Object element,
java.lang.String value)
Value entered into the specified cell of the currently selected sheet
|
void |
setFile(ElementStub element,
java.lang.String filePaths)
setFile(_file("id"), "C:/abc/efg.jpg");
|
void |
setFile(ElementStub element,
java.lang.String[] filePaths)
setFile(_file("id"), "C:/abc/efg.jpg");
|
void |
setFile(ElementStub element,
java.lang.String[] filePaths,
java.lang.String actionURL)
setFile(_file("id"), "C:/abc/efg.jpg");
|
void |
setFile(ElementStub element,
java.lang.String filePaths,
java.lang.String actionURL)
setFile(_file("id"), "C:/abc/efg.jpg");
|
void |
setFile2(ElementStub element,
java.lang.String filePaths)
setFile2
|
void |
setFile2(ElementStub element,
java.lang.String[] filePaths)
setFile2
|
void |
setFile2(ElementStub element,
java.lang.String[] filePaths,
java.lang.String actionURL)
setFile2
|
void |
setFile2(ElementStub element,
java.lang.String[] filePaths,
java.lang.String actionURL,
java.lang.Boolean isMultipartRequest)
setFile2
|
void |
setFile2(ElementStub element,
java.lang.String[] filePaths,
java.lang.String actionURL,
java.lang.Boolean isMultipartRequest,
java.lang.Boolean isFileValidation)
setFile2
|
void |
setFile2(ElementStub element,
java.lang.String filePaths,
java.lang.String actionURL)
setFile2
|
void |
setFile2(ElementStub element,
java.lang.String filePaths,
java.lang.String actionURL,
java.lang.Boolean isMultipartRequest)
setFile2
|
void |
setFile2(ElementStub element,
java.lang.String filePaths,
java.lang.String actionURL,
java.lang.Boolean isMultipartRequest,
java.lang.Boolean isFileValidation)
setFile2
|
void |
setFile3(ElementStub element,
java.lang.String filePaths)
setFile3
|
void |
setFile3(ElementStub element,
java.lang.String[] filePaths)
setFile3
|
void |
setFile3(ElementStub element,
java.lang.String[] filePaths,
java.lang.String actionURL)
setFile3
|
void |
setFile3(ElementStub element,
java.lang.String filePaths,
java.lang.String actionURL)
setFile3
|
void |
setFlexReadyCondition(java.lang.Object fn)
This function should be used inside a browser tag.
|
void |
setHttpHeader(java.lang.String key,
java.lang.String value)
Sets the HTTP header for all further requests made in this browser session.
|
void |
setLanguage(java.lang.String translateTo,
java.lang.String translateFrom)
setLanguage
|
void |
setLanguage(java.lang.String translateTo,
java.lang.String translateFrom,
java.lang.Boolean append)
setLanguage
|
void |
setOrientation(java.lang.Object orientationType)
Rotate the device screen based on the orientation type.
|
void |
setPassword(ElementStub element,
java.lang.String text)
Types the password into the element.
|
void |
setPingDelayAfterStep(java.lang.Integer delay)
Sahi Pro continuously pings the proxy server to await commands.
|
void |
setSpeed(java.lang.Integer speed)
Sets the speed of execution of steps.
|
void |
setStrictVisibilityCheck(java.lang.Boolean doCheck)
setStrictVisibilityCheck
|
void |
setStrictVisibilityCheck(java.lang.Boolean doCheck,
java.lang.Boolean checkZIndex)
setStrictVisibilityCheck
|
void |
setStrictVisibilityCheck(java.lang.Boolean doCheck,
java.lang.Boolean checkZIndex,
java.lang.Boolean doScroll)
setStrictVisibilityCheck
|
void |
setSwipeDeadzonePercentage(java.lang.Object percent)
After leaving the dead zone area then it starts swiping.
|
void |
setValue(ElementStub element,
java.lang.String value)
Simulates text entry into input elements like textbox, textarea etc.
|
void |
setValue(ElementStub element,
java.lang.String value,
java.lang.Object props)
Simulates text entry into input elements like textbox, textarea etc.
|
void |
setWaitTimes(java.lang.Integer windowLoadTime,
java.lang.Integer ajaxLoadTime,
java.lang.Integer flexLoadTime)
Modify the Windows, AJAX and Flex wait times.
|
void |
setXHRReadyStatesToWaitFor(java.lang.String readyStates)
Sets what readyStates of an XMLHttpRequest (XHR) Sahi should wait for.
|
void |
setXHRReadyStatesToWaitFor(java.lang.String readyStates,
java.lang.String forURL)
Sets what readyStates of an XMLHttpRequest (XHR) Sahi should wait for.
|
void |
startLookInside(ElementStub element)
startLookInside is a DOM relation marker setter which specifies that the element should be searched within another element.
|
void |
startWebContext(java.lang.String packageName)
Changes the execution mode to ANDROID_WEBVIEW and starts the execution of the following steps as Web.
|
void |
stopLookInside()
stopLookInside is a DOM relation marker re-setter which re-sets the _startLookInside relation marker.
|
void |
stopOnError()
Forces script to fail and abort on any error.
|
void |
stopWebContext()
Stop the execution of following steps in Android WebView.
|
java.lang.String |
style(ElementStub el,
java.lang.String styleAttribute)
style
|
void |
swipe(ElementStub element,
java.lang.Integer moveX,
java.lang.Integer moveY,
java.lang.Boolean isRelative)
Simulates a touch move event on the HTML element
|
void |
swipeDown()
Swipes down on the element.
|
void |
swipeDown(java.lang.Object element)
Swipes down on the element.
|
void |
swipeDown(java.lang.Object element,
java.lang.Object percent)
Swipes down on the element.
|
void |
swipeDown(java.lang.Object element,
java.lang.Object percent,
java.lang.Integer speed)
Swipes down on the element.
|
void |
swipeLeft()
Swipes left on the element.
|
void |
swipeLeft(java.lang.Object element)
Swipes left on the element.
|
void |
swipeLeft(java.lang.Object element,
java.lang.Object percent)
Swipes left on the element.
|
void |
swipeLeft(java.lang.Object element,
java.lang.Object percent,
java.lang.Integer speed)
Swipes left on the element.
|
void |
swipeRight()
Swipes right on the element.
|
void |
swipeRight(java.lang.Object element)
Swipes right on the element.
|
void |
swipeRight(java.lang.Object element,
java.lang.Object percent)
Swipes right on the element.
|
void |
swipeRight(java.lang.Object element,
java.lang.Object percent,
java.lang.Integer speed)
Swipes right on the element.
|
void |
swipeUp()
Swipes up on the element.
|
void |
swipeUp(java.lang.Object element)
Swipes up on the element.
|
void |
swipeUp(java.lang.Object element,
java.lang.Object percent)
Swipes up on the element.
|
void |
swipeUp(java.lang.Object element,
java.lang.Object percent,
java.lang.Integer speed)
Swipes up on the element.
|
ElementStub |
synthInternalFrameTitlePane(java.lang.Object... args) |
ElementStub |
tabDisplayer(java.lang.Object... args) |
ElementStub |
table(java.lang.Object... args) |
void |
takePageScreenShot()
takePageScreenShot
|
void |
takePageScreenShot(ElementStub element)
takePageScreenShot
|
void |
takePageScreenShot(ElementStub element,
java.lang.String fileSysPath)
takePageScreenShot
|
void |
takePageScreenShot(ElementStub element,
java.lang.String fileSysPath,
java.lang.Boolean noLog)
takePageScreenShot
|
void |
takePageScreenShot(ElementStub element,
java.lang.String fileSysPath,
java.lang.Boolean noLog,
java.lang.Object props)
takePageScreenShot
|
void |
takeScreenShot()
Takes a screen shot and embeds the image in the playback log.
|
void |
takeScreenShot(java.lang.String fileSysPath)
Takes a screen shot and embeds the image in the playback log.
|
void |
takeScreenShot(java.lang.String fileSysPath,
java.lang.Boolean noLog)
Takes a screen shot and embeds the image in the playback log.
|
void |
takeScreenShot(java.lang.String fileSysPath,
java.lang.Boolean noLog,
java.lang.Object props)
Takes a screen shot and embeds the image in the playback log.
|
void |
takeScreenShots(java.lang.Boolean enable)
Takes a screen shot after every step and embeds the image in the playback log.
|
void |
takeScreenShots(java.lang.Boolean enable,
java.lang.String directory)
Takes a screen shot after every step and embeds the image in the playback log.
|
void |
takeScreenShots(java.lang.Boolean enable,
java.lang.String directory,
java.lang.Boolean noLog)
Takes a screen shot after every step and embeds the image in the playback log.
|
void |
tap(ElementStub element)
Simulates a tap event(touch event) on the HTML element
|
void |
tap(ElementStub element,
java.lang.Integer count)
Simulates a tap event(touch event) on the HTML element
|
void |
tapWithNumberOfTapsNumberOfTouches(java.lang.Object element,
java.lang.Integer taps,
java.lang.Integer touches)
Simulates number of finger touches on an element, each with a number of taps.
|
ElementStub |
textarea(java.lang.Object... args) |
ElementStub |
textArea(java.lang.Object... args) |
ElementStub |
textbox(java.lang.Object... args) |
ElementStub |
textField(java.lang.Object... args) |
java.lang.String |
title()
title
|
void |
touch(ElementStub element)
Simulates a touch event on the HTML element
|
void |
touch(ElementStub element,
java.lang.Integer count)
Simulates a touch event on the HTML element
|
void |
touchCancel(ElementStub element)
Simulates a touch cancel event on the HTML element
|
void |
touchEnd(ElementStub element)
Simulates a touch end event on the HTML element
|
void |
touchMove(ElementStub element,
java.lang.Integer moveX,
java.lang.Integer moveY)
Simulates a touch move event on the HTML element
|
void |
touchMove(ElementStub element,
java.lang.Integer moveX,
java.lang.Integer moveY,
java.lang.Boolean isRelative)
Simulates a touch move event on the HTML element
|
void |
touchStart(ElementStub element)
Simulates a touch start event on the HTML element
|
ElementStub |
tree(java.lang.Object... args) |
void |
twoFingerTap(java.lang.Object element)
Simulates two finger touches on an element, each with a single tap.
|
void |
type(ElementStub element,
java.lang.String text)
Types the text into the element.
|
void |
typeCell(java.lang.Object element,
java.lang.String value)
Value appended to the specific cell of the currently selected sheet
|
void |
typeKeyCodeNative(java.lang.Integer keyCode)
Presses the keyboard key for given keyCode
|
void |
typeNative(java.lang.String text)
Types the text using native events
|
void |
uncheck(ElementStub checkBoxElement)
Unchecks the given checkbox.
|
void |
unlock(java.lang.String key)
Unlocks or releases the lock (acquired through the _lock API) that matches the given key.
|
void |
unlockWindow()
Unlocks or releases the lock acquired by calling _lockWindow.
|
java.lang.String |
userAgent()
userAgent
|
java.lang.String |
userDataDir()
userDataDir
|
java.lang.String |
userDataDir(java.lang.String fileSeparator)
userDataDir
|
java.lang.String |
userDataPath(java.lang.String relPath)
userDataPath
|
java.lang.String |
userDataPath(java.lang.String relPath,
java.lang.String fileSeparator)
userDataPath
|
java.lang.Boolean |
verifyLayout(java.util.List<java.util.List<ElementStub>> data,
java.lang.Integer threshold)
Validates the page layout based on $data.
|
void |
wakeUp()
aWakeUp simulates pressing the power button if the screen is OFF else it does nothing if the screen is already ON.
|
void |
windowAction(java.lang.String action)
Performs various window level actions.
|
void |
windowAction(java.lang.String action,
java.lang.Integer width)
Performs various window level actions.
|
void |
windowAction(java.lang.String action,
java.lang.Integer width,
java.lang.Integer height)
Performs various window level actions.
|
java.lang.Boolean |
windowExists(java.lang.String windowIdentifier)
Returns true if the window exists.
|
java.lang.Boolean |
windowExists(java.lang.String windowIdentifier,
java.lang.Integer activePeriod)
Returns true if the window exists.
|
createElementStub, executeSahi, getSteps, libEval, selectWindow
public AppletAutoGen(Browser b)
public AppletAutoGen(Browser browser, RhinoScriptRunner rhinoScriptRunner)
public AppletAutoGen(ApplicationType applicationType)
public AppletAutoGen(ApplicationType applicationType, java.lang.String host, int port)
public AppletAutoGen(ApplicationType applicationType, RhinoScriptRunner rhinoScriptRunner)
public void setAccessorIgnoreCase(java.lang.Boolean isIgnore) throws ExecutionException
isIgnore
- true or falseExecutionException
public void click(ElementStub element, java.lang.String combo) throws ExecutionException
element
- element to click oncombo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void click(ElementStub element) throws ExecutionException
element
- element to click onExecutionException
public void doubleClick(ElementStub element, java.lang.String combo) throws ExecutionException
element
- element to double click oncombo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void doubleClick(ElementStub element) throws ExecutionException
element
- element to double click onExecutionException
public void rightClick(ElementStub element, java.lang.String combo) throws ExecutionException
element
- element to right click oncombo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void rightClick(ElementStub element) throws ExecutionException
element
- element to right click onExecutionException
public void mouseDown(ElementStub element, java.lang.Boolean isRight, java.lang.String combo) throws ExecutionException
element
- element to perform mouse down onisRight
- Set to true for a left-hand mouse, default falsecombo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void mouseDown(ElementStub element, java.lang.Boolean isRight) throws ExecutionException
element
- element to perform mouse down onisRight
- Set to true for a left-hand mouse, default falseExecutionException
public void mouseDown(ElementStub element) throws ExecutionException
element
- element to perform mouse down onExecutionException
public void mouseUp(ElementStub element, java.lang.Boolean isRight, java.lang.String combo) throws ExecutionException
element
- element to perform mouse up onisRight
- Set to true for a left-hand mouse, default falsecombo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void mouseUp(ElementStub element, java.lang.Boolean isRight) throws ExecutionException
element
- element to perform mouse up onisRight
- Set to true for a left-hand mouse, default falseExecutionException
public void mouseUp(ElementStub element) throws ExecutionException
element
- element to perform mouse up onExecutionException
public void mouseOver(ElementStub element, java.lang.String combo) throws ExecutionException
element
- element to perform hover over or move the mouse over.combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void mouseOver(ElementStub element) throws ExecutionException
element
- element to perform hover over or move the mouse over.ExecutionException
public void check(ElementStub checkBoxOrRadioElement) throws ExecutionException
checkBoxOrRadioElement
- The check box or Radio element to checkExecutionException
public void uncheck(ElementStub checkBoxElement) throws ExecutionException
checkBoxElement
- The check box to uncheckExecutionException
public void choose(ElementStub element, java.lang.String optionToSelect, java.lang.Boolean isMultiple) throws ExecutionException
element
- Select dropdownoptionToSelect
- Option's text, id or index;isMultiple
- set isMultiple true for multiselectExecutionException
public void choose(ElementStub element, java.lang.String optionToSelect) throws ExecutionException
element
- Select dropdownoptionToSelect
- Option's text, id or index;ExecutionException
public void choose(ElementStub element, java.lang.Integer optionToSelect, java.lang.Boolean isMultiple) throws ExecutionException
element
- Select dropdownoptionToSelect
- Option's text, id or index;isMultiple
- set isMultiple true for multiselectExecutionException
public void choose(ElementStub element, java.lang.Integer optionToSelect) throws ExecutionException
element
- Select dropdownoptionToSelect
- Option's text, id or index;ExecutionException
public void choose(ElementStub element, java.lang.String[] optionToSelect, java.lang.Boolean isMultiple) throws ExecutionException
element
- Select dropdownoptionToSelect
- Option's text, id or index;isMultiple
- set isMultiple true for multiselectExecutionException
public void choose(ElementStub element, java.lang.String[] optionToSelect) throws ExecutionException
element
- Select dropdownoptionToSelect
- Option's text, id or index;ExecutionException
public void choose(ElementStub element, java.lang.Integer[] optionToSelect, java.lang.Boolean isMultiple) throws ExecutionException
element
- Select dropdownoptionToSelect
- Option's text, id or index;isMultiple
- set isMultiple true for multiselectExecutionException
public void choose(ElementStub element, java.lang.Integer[] optionToSelect) throws ExecutionException
element
- Select dropdownoptionToSelect
- Option's text, id or index;ExecutionException
public void expand(java.lang.Object element, java.lang.String identifier) throws ExecutionException
element
- Tree element to be expandedidentifier
- Identifier of tree node.ExecutionException
public void expand(java.lang.Object element) throws ExecutionException
element
- Tree element to be expandedExecutionException
public void collapse(java.lang.Object element, java.lang.String identifier) throws ExecutionException
element
- Tree element to be collapsedidentifier
- Identifier of tree node.ExecutionException
public void collapse(java.lang.Object element) throws ExecutionException
element
- Tree element to be collapsedExecutionException
public void dragDrop(ElementStub dragElement, ElementStub dropElement, java.lang.String windowName) throws ExecutionException
dragElement
- Element to be draggeddropElement
- Element on which the dragged element will be droppedwindowName
- Target window for dropped element (available only for Windows mode)ExecutionException
public void dragDrop(ElementStub dragElement, ElementStub dropElement) throws ExecutionException
dragElement
- Element to be draggeddropElement
- Element on which the dragged element will be droppedExecutionException
public void dragDropXY(ElementStub dragElement, java.lang.Integer x, java.lang.Integer y, java.lang.Boolean isRelative) throws ExecutionException
dragElement
- Element to be draggedx
- x coordinate of drop point on the pagey
- y coordinate of drop point on the pageisRelative
- Specifies whether the coordinates are relative to current position of draggable element.ExecutionException
public void dragDropXY(ElementStub dragElement, java.lang.Integer x, java.lang.Integer y) throws ExecutionException
dragElement
- Element to be draggedx
- x coordinate of drop point on the pagey
- y coordinate of drop point on the pageExecutionException
public void dropFile(java.lang.String filePath, ElementStub dropElement) throws ExecutionException
filePath
- Path of the file to be uploaded.dropElement
- Element on which file will be dropped.ExecutionException
public void tap(ElementStub element, java.lang.Integer count) throws ExecutionException
element
- HTML form element that needs to be tappedcount
- number of times the element needs to be tapped. Default value is 1.ExecutionException
public void tap(ElementStub element) throws ExecutionException
element
- HTML form element that needs to be tappedExecutionException
public void touch(ElementStub element, java.lang.Integer count) throws ExecutionException
element
- HTML form element on which we need to fire a touch eventcount
- number of times the element needs to be touched. Default value is 1.ExecutionException
public void touch(ElementStub element) throws ExecutionException
element
- HTML form element on which we need to fire a touch eventExecutionException
public void touchStart(ElementStub element) throws ExecutionException
element
- HTML form element on which we need to fire a touch start eventExecutionException
public void touchEnd(ElementStub element) throws ExecutionException
element
- HTML form element on which we need to fire a touch end eventExecutionException
public void touchCancel(ElementStub element) throws ExecutionException
element
- HTML form element on which we need to cancel the ongoing touch eventExecutionException
public void touchMove(ElementStub element, java.lang.Integer moveX, java.lang.Integer moveY, java.lang.Boolean isRelative) throws ExecutionException
element
- HTML form element which we need to move/drag.moveX
- number of pixels the element needs to move in x-directionmoveY
- number of pixels the element needs to move in y-directionisRelative
- if true, the element will move relative to the current location of the element.ExecutionException
public void touchMove(ElementStub element, java.lang.Integer moveX, java.lang.Integer moveY) throws ExecutionException
element
- HTML form element which we need to move/drag.moveX
- number of pixels the element needs to move in x-directionmoveY
- number of pixels the element needs to move in y-directionExecutionException
public void swipe(ElementStub element, java.lang.Integer moveX, java.lang.Integer moveY, java.lang.Boolean isRelative) throws ExecutionException
element
- HTML form element on which we need to simulate swipe event.moveX
- number of pixels the element needs to move in x-directionmoveY
- number of pixels the element needs to move in y-directionisRelative
- if true, the element will move relative to the current location of the element.ExecutionException
public void setValue(ElementStub element, java.lang.String value, java.lang.Object props) throws ExecutionException
element
- HTML form element whose value is to be setvalue
- Value to be setprops
- Properties to specify for clearing the textbox, keyboard buttons to hide keyboard (Specific to iOS Automation).ExecutionException
public void setValue(ElementStub element, java.lang.String value) throws ExecutionException
element
- HTML form element whose value is to be setvalue
- Value to be setExecutionException
public void keyDown(ElementStub element, java.lang.String charInfo, java.lang.String combo) throws ExecutionException
element
- Any HTML elementcharInfo
- charInfo can be:combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void keyDown(ElementStub element, java.lang.String charInfo) throws ExecutionException
element
- Any HTML elementcharInfo
- charInfo can be:ExecutionException
public void keyDown(ElementStub element, java.lang.Integer charInfo, java.lang.String combo) throws ExecutionException
element
- Any HTML elementcharInfo
- charInfo can be:combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void keyDown(ElementStub element, java.lang.Integer charInfo) throws ExecutionException
element
- Any HTML elementcharInfo
- charInfo can be:ExecutionException
public void keyDown(ElementStub element, java.lang.Integer charInfoKeyCode, java.lang.Integer charInfoCharCode, java.lang.String combo) throws ExecutionException
element
- Any HTML elementcharInfoKeyCode
- charInfo can be:charInfoCharCode
- charInfo can be:combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void keyDown(ElementStub element, java.lang.Integer charInfoKeyCode, java.lang.Integer charInfoCharCode) throws ExecutionException
element
- Any HTML elementcharInfoKeyCode
- charInfo can be:charInfoCharCode
- charInfo can be:ExecutionException
public void keyUp(ElementStub element, java.lang.String charInfo, java.lang.String combo) throws ExecutionException
element
- Any HTML elementcharInfo
- charInfo can be:combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void keyUp(ElementStub element, java.lang.String charInfo) throws ExecutionException
element
- Any HTML elementcharInfo
- charInfo can be:ExecutionException
public void keyUp(ElementStub element, java.lang.Integer charInfo, java.lang.String combo) throws ExecutionException
element
- Any HTML elementcharInfo
- charInfo can be:combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void keyUp(ElementStub element, java.lang.Integer charInfo) throws ExecutionException
element
- Any HTML elementcharInfo
- charInfo can be:ExecutionException
public void keyUp(ElementStub element, java.lang.Integer charInfoKeyCode, java.lang.Integer charInfoCharCode, java.lang.String combo) throws ExecutionException
element
- Any HTML elementcharInfoKeyCode
- charInfo can be:charInfoCharCode
- charInfo can be:combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void keyUp(ElementStub element, java.lang.Integer charInfoKeyCode, java.lang.Integer charInfoCharCode) throws ExecutionException
element
- Any HTML elementcharInfoKeyCode
- charInfo can be:charInfoCharCode
- charInfo can be:ExecutionException
public void keyPress(ElementStub element, java.lang.String keyInfo, java.lang.String combo) throws ExecutionException
element
- Element that supports keyPress actionkeyInfo
- keyInfo can be specified as:combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void keyPress(ElementStub element, java.lang.String keyInfo) throws ExecutionException
element
- Element that supports keyPress actionkeyInfo
- keyInfo can be specified as:ExecutionException
public void keyPress(ElementStub element, java.lang.Integer keyInfo, java.lang.String combo) throws ExecutionException
element
- Element that supports keyPress actionkeyInfo
- keyInfo can be specified as:combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void keyPress(ElementStub element, java.lang.Integer keyInfo) throws ExecutionException
element
- Element that supports keyPress actionkeyInfo
- keyInfo can be specified as:ExecutionException
public void keyPress(ElementStub element, java.lang.Integer[] keyInfo, java.lang.String combo) throws ExecutionException
element
- Element that supports keyPress actionkeyInfo
- keyInfo can be specified as:combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void keyPress(ElementStub element, java.lang.Integer[] keyInfo) throws ExecutionException
element
- Element that supports keyPress actionkeyInfo
- keyInfo can be specified as:ExecutionException
public void type(ElementStub element, java.lang.String text) throws ExecutionException
element
- element in which the text is to be typedtext
- text to be typedExecutionException
public void setPassword(ElementStub element, java.lang.String text) throws ExecutionException
element
- element in which the password is to be typedtext
- encrypted password to be typedExecutionException
public void focus(ElementStub element) throws ExecutionException
element
- Any HTML element to focus onExecutionException
public void removeFocus(ElementStub element) throws ExecutionException
element
- Any HTML element to remove focus fromExecutionException
public void blur(ElementStub element) throws ExecutionException
element
- Any HTML element to remove focus fromExecutionException
public void selectRange(ElementStub element, java.lang.Integer rangeStart, java.lang.Integer rangeEnd) throws ExecutionException
element
- element to select onrangeStart
- start position of selectionrangeEnd
- end position of selectionExecutionException
public void selectTextRange(ElementStub element, java.lang.String searchText, java.lang.String position) throws ExecutionException
element
- element to select onsearchText
- text to search for and select.position
- can be "before" or "after".ExecutionException
public void selectTextRange(ElementStub element, java.lang.String searchText) throws ExecutionException
element
- element to select onsearchText
- text to search for and select.ExecutionException
public void navigateTo(java.lang.String url, java.lang.Boolean forceReload) throws ExecutionException
url
- URL to navigate to. Can be relative to current page.forceReload
- If the current page URL is same as url, Sahi will not reload the page by default.ExecutionException
public void navigateTo(java.lang.String url) throws ExecutionException
url
- URL to navigate to. Can be relative to current page.ExecutionException
public void typeNative(java.lang.String text) throws ExecutionException
text
- Text to typeExecutionException
public void typeKeyCodeNative(java.lang.Integer keyCode) throws ExecutionException
keyCode
- Key Code of keyboard key to be pressed.ExecutionException
public void focusWindow() throws ExecutionException
ExecutionException
public void windowAction(java.lang.String action, java.lang.Integer width, java.lang.Integer height) throws ExecutionException
action
- Action can be one ofwidth
- Specifies the width of the browser window while using the 'resize' option.height
- Specifies the height of the browser window while using the 'resize' option.ExecutionException
public void windowAction(java.lang.String action, java.lang.Integer width) throws ExecutionException
action
- Action can be one ofwidth
- Specifies the width of the browser window while using the 'resize' option.ExecutionException
public void windowAction(java.lang.String action) throws ExecutionException
action
- Action can be one ofExecutionException
public void clickNative(ElementStub element, java.lang.String combo, java.lang.Boolean isRight, java.lang.Boolean isDouble) throws ExecutionException
element
- Element that has to be clicked.combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";isRight
- If true, the click is a right clickisDouble
- If true, the click is a double clickExecutionException
public void clickNative(ElementStub element, java.lang.String combo, java.lang.Boolean isRight) throws ExecutionException
element
- Element that has to be clicked.combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";isRight
- If true, the click is a right clickExecutionException
public void clickNative(ElementStub element, java.lang.String combo) throws ExecutionException
element
- Element that has to be clicked.combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void clickNative(ElementStub element) throws ExecutionException
element
- Element that has to be clicked.ExecutionException
public void rightClickNative(ElementStub element, java.lang.String combo) throws ExecutionException
element
- element that has to be clicked.combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void rightClickNative(ElementStub element) throws ExecutionException
element
- element that has to be clicked.ExecutionException
public void doubleClickNative(ElementStub element, java.lang.String combo) throws ExecutionException
element
- element that has to be double clicked.combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void doubleClickNative(ElementStub element) throws ExecutionException
element
- element that has to be double clicked.ExecutionException
public void clickNativeXY(java.lang.Integer x, java.lang.Integer y, java.lang.String combo, java.lang.Boolean isRight, java.lang.Boolean isDouble) throws ExecutionException
x
- x coordinate of the screen position to be clickedy
- y coordinate of the screen position to be clickedcombo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";isRight
- If true, the click is a right clickisDouble
- If true, the click is a double clickExecutionException
public void clickNativeXY(java.lang.Integer x, java.lang.Integer y, java.lang.String combo, java.lang.Boolean isRight) throws ExecutionException
x
- x coordinate of the screen position to be clickedy
- y coordinate of the screen position to be clickedcombo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";isRight
- If true, the click is a right clickExecutionException
public void clickNativeXY(java.lang.Integer x, java.lang.Integer y, java.lang.String combo) throws ExecutionException
x
- x coordinate of the screen position to be clickedy
- y coordinate of the screen position to be clickedcombo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void clickNativeXY(java.lang.Integer x, java.lang.Integer y) throws ExecutionException
x
- x coordinate of the screen position to be clickedy
- y coordinate of the screen position to be clickedExecutionException
public void mouseOverNative(ElementStub element, java.lang.String combo) throws ExecutionException
element
- Element to perform hover over or move the mouse over.combo
- Any combo key: can be "CTRL", "SHIFT", "ALT" or "META";ExecutionException
public void mouseOverNative(ElementStub element) throws ExecutionException
element
- Element to perform hover over or move the mouse over.ExecutionException
public void dragDropNative(ElementStub el, ElementStub el2) throws ExecutionException
el
- the draggable elementel2
- the droppable elementExecutionException
public void dragDropNativeXY(java.lang.Integer x1, java.lang.Integer y1, java.lang.Integer x2, java.lang.Integer y2) throws ExecutionException
x1
- x coordinate of the draggable elementy1
- y coordinate of the draggable elementx2
- x coordinate of the droppable elementy2
- y coordinate of the droppable elementExecutionException
public void setFile(ElementStub element, java.lang.String filePaths, java.lang.String actionURL) throws ExecutionException
element
- HTML Form File Element whose value needs to be setfilePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.actionURL
- The form action URL to which the file is submitted. This is an optional parameter.ExecutionException
public void setFile(ElementStub element, java.lang.String filePaths) throws ExecutionException
element
- HTML Form File Element whose value needs to be setfilePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.ExecutionException
public void setFile(ElementStub element, java.lang.String[] filePaths, java.lang.String actionURL) throws ExecutionException
element
- HTML Form File Element whose value needs to be setfilePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.actionURL
- The form action URL to which the file is submitted. This is an optional parameter.ExecutionException
public void setFile(ElementStub element, java.lang.String[] filePaths) throws ExecutionException
element
- HTML Form File Element whose value needs to be setfilePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.ExecutionException
public void setFile2(ElementStub element, java.lang.String filePaths, java.lang.String actionURL, java.lang.Boolean isMultipartRequest, java.lang.Boolean isFileValidation) throws ExecutionException
element
- HTML Form File Element whose value needs to be set.filePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.actionURL
- The form action URL to which the file is submitted. This is an optional parameter.isMultipartRequest
- Set to false when file element is not part of form. Default value is true.isFileValidation
- Set to true when there are client side validations on file or when file element is not part of form.ExecutionException
public void setFile2(ElementStub element, java.lang.String filePaths, java.lang.String actionURL, java.lang.Boolean isMultipartRequest) throws ExecutionException
element
- HTML Form File Element whose value needs to be set.filePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.actionURL
- The form action URL to which the file is submitted. This is an optional parameter.isMultipartRequest
- Set to false when file element is not part of form. Default value is true.ExecutionException
public void setFile2(ElementStub element, java.lang.String filePaths, java.lang.String actionURL) throws ExecutionException
element
- HTML Form File Element whose value needs to be set.filePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.actionURL
- The form action URL to which the file is submitted. This is an optional parameter.ExecutionException
public void setFile2(ElementStub element, java.lang.String filePaths) throws ExecutionException
element
- HTML Form File Element whose value needs to be set.filePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.ExecutionException
public void setFile2(ElementStub element, java.lang.String[] filePaths, java.lang.String actionURL, java.lang.Boolean isMultipartRequest, java.lang.Boolean isFileValidation) throws ExecutionException
element
- HTML Form File Element whose value needs to be set.filePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.actionURL
- The form action URL to which the file is submitted. This is an optional parameter.isMultipartRequest
- Set to false when file element is not part of form. Default value is true.isFileValidation
- Set to true when there are client side validations on file or when file element is not part of form.ExecutionException
public void setFile2(ElementStub element, java.lang.String[] filePaths, java.lang.String actionURL, java.lang.Boolean isMultipartRequest) throws ExecutionException
element
- HTML Form File Element whose value needs to be set.filePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.actionURL
- The form action URL to which the file is submitted. This is an optional parameter.isMultipartRequest
- Set to false when file element is not part of form. Default value is true.ExecutionException
public void setFile2(ElementStub element, java.lang.String[] filePaths, java.lang.String actionURL) throws ExecutionException
element
- HTML Form File Element whose value needs to be set.filePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.actionURL
- The form action URL to which the file is submitted. This is an optional parameter.ExecutionException
public void setFile2(ElementStub element, java.lang.String[] filePaths) throws ExecutionException
element
- HTML Form File Element whose value needs to be set.filePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.ExecutionException
public void setFile3(ElementStub element, java.lang.String filePaths, java.lang.String actionURL) throws ExecutionException
element
- HTML Form File Element whose value needs to be setfilePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.actionURL
- The form action URL to which the file is submitted. This is an optional parameter.ExecutionException
public void setFile3(ElementStub element, java.lang.String filePaths) throws ExecutionException
element
- HTML Form File Element whose value needs to be setfilePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.ExecutionException
public void setFile3(ElementStub element, java.lang.String[] filePaths, java.lang.String actionURL) throws ExecutionException
element
- HTML Form File Element whose value needs to be setfilePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.actionURL
- The form action URL to which the file is submitted. This is an optional parameter.ExecutionException
public void setFile3(ElementStub element, java.lang.String[] filePaths) throws ExecutionException
element
- HTML Form File Element whose value needs to be setfilePaths
- Path of the files to be uploaded. File path is resolved relative to current script file.ExecutionException
public java.lang.String lastDownloadedFileName() throws ExecutionException
ExecutionException
public void saveDownloadedAs(java.lang.String path) throws ExecutionException
path
- File path to copy this file into. Needs to be a file path not a directory. If path is relative, it is resolved relative to userdata directory.ExecutionException
public void clearLastDownloadedFileName() throws ExecutionException
ExecutionException
public void sendHTMLResponseAfterFileDownload(java.lang.Boolean enable) throws ExecutionException
enable
- true enables html response behaviour, false disables html responseExecutionException
public void addToSession(java.lang.String domain) throws ExecutionException
domain
- Domain to be associated with the current script sessionExecutionException
public void closeWindow(java.lang.String title) throws ExecutionException
title
- Title of the window to close. A regular expression can also be specified here. (Available only for SAP mode)ExecutionException
public void closeWindow() throws ExecutionException
ExecutionException
public void closeBrowser() throws ExecutionException
ExecutionException
public void openWindow(java.lang.String url, java.lang.String name, java.lang.Integer[] size) throws ExecutionException
url
- URL of the page to open. If no URL is specified, a new window with "about:blank" is opened.name
- name of the window.size
- height and width of the window.ExecutionException
public void openWindow(java.lang.String url, java.lang.String name) throws ExecutionException
url
- URL of the page to open. If no URL is specified, a new window with "about:blank" is opened.name
- name of the window.ExecutionException
public void openWindow(java.lang.String url) throws ExecutionException
url
- URL of the page to open. If no URL is specified, a new window with "about:blank" is opened.ExecutionException
public void openWindow() throws ExecutionException
ExecutionException
public java.lang.Boolean areHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer[] offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer[] offset, java.lang.String message) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.message
- message to log if condition failsExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer[] offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer[] offset, java.lang.String message) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.message
- message to log if condition failsExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer[] offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public java.lang.Boolean areHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer offset, java.lang.String message) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.message
- message to log if condition failsExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer offset, java.lang.String message) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.message
- message to log if condition failsExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public java.lang.Boolean areHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer[] gap) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public java.lang.Boolean areHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer[] offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer[] offset, java.lang.String message) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.message
- message to log if condition failsExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer[] offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer[] offset, java.lang.String message) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.message
- message to log if condition failsExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer[] offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public java.lang.Boolean areHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer offset, java.lang.String message) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.message
- message to log if condition failsExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer offset, java.lang.String message) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.message
- message to log if condition failsExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer offset) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset above and below within which to look for elements boundary for given position. If offset is an integer, both above and below offsets are set to this offset. rightElement may be slightly above or below leftElement. Sahi normally matches only elements whose bases match. To force it to look a little above or below while looking to the right, use the offset.ExecutionException
public java.lang.Boolean areHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position, java.lang.Integer gap) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".gap
- Gap between right edge of left element and left edge of right element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [10, 40], implies gap can range from 10 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public java.lang.Boolean areHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".ExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".ExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement, java.lang.String position) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.position
- Position to be checked. By default position = "middle". Value of position can be either "top" or "bottom" or "both" or "middle".ExecutionException
public java.lang.Boolean areHorizontallyAligned(ElementStub leftElement, ElementStub rightElement) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.ExecutionException
public void assertAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.ExecutionException
public void assertNotAreHorizontallyAligned(ElementStub leftElement, ElementStub rightElement) throws ExecutionException
leftElement
- Left element to be checked.rightElement
- Right element to be checked.ExecutionException
public java.lang.Boolean areVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer[] offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer[] offset, java.lang.String message) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer[] offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer[] offset, java.lang.String message) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer[] offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public java.lang.Boolean areVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer offset, java.lang.String message) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer offset, java.lang.String message) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap, java.lang.Integer offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public java.lang.Boolean areVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer[] gap) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public java.lang.Boolean areVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer[] offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer[] offset, java.lang.String message) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer[] offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer[] offset, java.lang.String message) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer[] offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public java.lang.Boolean areVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer offset, java.lang.String message) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer offset, java.lang.String message) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap, java.lang.Integer offset) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public java.lang.Boolean areVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position, java.lang.Integer gap) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".gap
- Gap between bottom edge of top element and top edge of bottom element. If gap is an integer, it will take the exact value. And if gap is an array, Eg. gap = [0, 40], implies gap can range from 0 to 40. To force sahi to check for the gap between the two elements, use the gap. If nothing provided it wouldn't consider gap.ExecutionException
public java.lang.Boolean areVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".ExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".ExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement, java.lang.String position) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.position
- Position to be checked. By default position = "center". Value of position can be either "left" or "right" or "both" or "center".ExecutionException
public java.lang.Boolean areVerticallyAligned(ElementStub topElement, ElementStub bottomElement) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.ExecutionException
public void assertAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.ExecutionException
public void assertNotAreVerticallyAligned(ElementStub topElement, ElementStub bottomElement) throws ExecutionException
topElement
- Top element to be checked.bottomElement
- Bottom element to be checked.ExecutionException
public java.lang.Boolean isCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment, java.lang.Integer[] offset) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment, java.lang.Integer[] offset, java.lang.String message) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment, java.lang.Integer[] offset) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertNotCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment, java.lang.Integer[] offset, java.lang.String message) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertNotCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment, java.lang.Integer[] offset) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public java.lang.Boolean isCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment, java.lang.Integer offset) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment, java.lang.Integer offset, java.lang.String message) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment, java.lang.Integer offset) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public void assertNotCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment, java.lang.Integer offset, java.lang.String message) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.message
- message to log if condition failsExecutionException
public void assertNotCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment, java.lang.Integer offset) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".offset
- Offset left and right within which to look for elements boundary for given position. If offset is an integer, both left and right offsets are set to this offset. topElement may be slightly left or right to the bottomElement.ExecutionException
public java.lang.Boolean isCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".ExecutionException
public void assertCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".ExecutionException
public void assertNotCentered(ElementStub element, ElementStub containerElement, java.lang.String alignment) throws ExecutionException
element
- Inner element to be checked.containerElement
- Container element to be checked.alignment
- Can be "vertical" or "horizontal".ExecutionException
public java.lang.Boolean isVisiblyInside(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked.ExecutionException
public void assertVisiblyInside(ElementStub element1, ElementStub element2, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked.message
- message to log if condition failsExecutionException
public void assertVisiblyInside(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked.ExecutionException
public void assertNotVisiblyInside(ElementStub element1, ElementStub element2, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked.message
- message to log if condition failsExecutionException
public void assertNotVisiblyInside(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked.ExecutionException
public java.lang.Boolean isVisiblyOutside(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked.ExecutionException
public void assertVisiblyOutside(ElementStub element1, ElementStub element2, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked.message
- message to log if condition failsExecutionException
public void assertVisiblyOutside(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked.ExecutionException
public void assertNotVisiblyOutside(ElementStub element1, ElementStub element2, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOutside(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.message
- message to log if condition failsExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. To force sahi to check for the leftSpace between the two elements, use the leftSpace. If nothing provided it wouldn't consider leftSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. To force sahi to check for the bottomSpace between the two elements, use the bottomSpace. If nothing provided it wouldn't consider bottomSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. To force sahi to check for the rightSpace between the two elements, use the rightSpace. If nothing provided it wouldn't consider rightSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2, java.lang.Integer topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. To force sahi to check for the topSpace between the two elements, use the topSpace. If nothing provided it wouldn't consider topSpace.ExecutionException
public java.lang.Boolean isVisiblyOn(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.ExecutionException
public void assertVisiblyOn(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.ExecutionException
public void assertNotVisiblyOn(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.ExecutionException
public java.lang.Boolean fitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace, java.lang.Integer[] rightSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace, java.lang.Integer[] rightSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace, java.lang.Integer rightSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace, java.lang.Integer rightSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.ExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.ExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer[] leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace, java.lang.Integer[] rightSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace, java.lang.Integer[] rightSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace, java.lang.Integer[] rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace, java.lang.Integer rightSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace, java.lang.Integer rightSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace, java.lang.Integer rightSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.rightSpace
- Space between right edges of the two elements. If rightSpace is an integer, it will take the exact value. And if rightSpace = [0, 20], implies right edge of element2 lies to the right side of right edge of element1. If nothing provided rightSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.ExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.ExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2, java.lang.Integer leftSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.leftSpace
- Space between left edges of the two elements. If leftSpace is an integer, it will take the exact value. And if leftSpace = [0, 20], implies top edge of element2 lies to the right side of left edge of element1. If nothing provided leftSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsWidth(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.ExecutionException
public void assertFitsWidth(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.ExecutionException
public void assertNotFitsWidth(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.ExecutionException
public java.lang.Boolean fitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] bottomSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] bottomSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer bottomSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer bottomSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.ExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.ExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer[] topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] bottomSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] bottomSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer[] bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer bottomSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer bottomSpace, java.lang.String message) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.message
- message to log if condition failsExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace, java.lang.Integer bottomSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.bottomSpace
- Space between bottom edges of the two elements. If bottomSpace is an integer, it will take the exact value. And if bottomSpace = [0, 20], implies bottom edge of element2 lies below bottom edge of element1. If nothing provided bottomSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.ExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.ExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2, java.lang.Integer topSpace) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.topSpace
- Space between top edges of the two elements. If topSpace is an integer, it will take the exact value. And if topSpace = [-20, 0], implies top edge of element2 lies above top edge of element1. If nothing provided topSpace will be considered as 0.ExecutionException
public java.lang.Boolean fitsHeight(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.ExecutionException
public void assertFitsHeight(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.ExecutionException
public void assertNotFitsHeight(ElementStub element1, ElementStub element2) throws ExecutionException
element1
- First element to be checked.element2
- Second element to be checked. Base Element.ExecutionException
public void wakeUp() throws ExecutionException
ExecutionException
public void pressBack() throws ExecutionException
ExecutionException
public void pressRecentApps() throws ExecutionException
ExecutionException
public void pressSearch() throws ExecutionException
ExecutionException
public void pressMenu() throws ExecutionException
ExecutionException
public void pressEnter() throws ExecutionException
ExecutionException
public void pressDelete() throws ExecutionException
ExecutionException
public java.lang.Boolean isScreenOn() throws ExecutionException
ExecutionException
public void enableVerticalScroll(java.lang.Object element, java.lang.Integer maxScrollCount) throws ExecutionException
element
- Scrollable element in which subsequent elements will be searched. If not specified, top most scrollable element will be considered.maxScrollCount
- Specify maximum scroll count to attempt scrolling to identify an element. If not specified, it will perform the scrolling till the end.ExecutionException
public void enableVerticalScroll(java.lang.Object element) throws ExecutionException
element
- Scrollable element in which subsequent elements will be searched. If not specified, top most scrollable element will be considered.ExecutionException
public void enableVerticalScroll() throws ExecutionException
ExecutionException
public void enableHorizontalScroll(java.lang.Object element, java.lang.Integer maxScrollCount) throws ExecutionException
element
- Scrollable element in which subsequent elements will be searched. If not specified, top most scrollable element will be considered.maxScrollCount
- Specify maximum scroll count to attempt scrolling to identify an element. If not specified, it will perform the scrolling till the end.ExecutionException
public void enableHorizontalScroll(java.lang.Object element) throws ExecutionException
element
- Scrollable element in which subsequent elements will be searched. If not specified, top most scrollable element will be considered.ExecutionException
public void enableHorizontalScroll() throws ExecutionException
ExecutionException
public void disableScroll() throws ExecutionException
ExecutionException
public java.lang.Boolean isVerticalScrollEnabled() throws ExecutionException
ExecutionException
public java.lang.Boolean isHorizontalScrollEnabled() throws ExecutionException
ExecutionException
public java.lang.Boolean isScrollEnabled() throws ExecutionException
ExecutionException
public java.lang.Boolean scrollLeftMost(java.lang.Object element, java.lang.Integer maxSwipes) throws ExecutionException
element
- element to be scrolledmaxSwipes
- maximum swipes to attempt to scroll to the leftmost position. If not specified, the default max swipes as supported by the device will be used.ExecutionException
public java.lang.Boolean scrollLeftMost(java.lang.Object element) throws ExecutionException
element
- element to be scrolledExecutionException
public java.lang.Boolean scrollRightMost(java.lang.Object element, java.lang.Integer maxSwipes) throws ExecutionException
element
- element to be scrolledmaxSwipes
- maximum swipes to attempt to scroll to the rightmost position. If not specified, the default max swipes as supported by the device will be used.ExecutionException
public java.lang.Boolean scrollRightMost(java.lang.Object element) throws ExecutionException
element
- element to be scrolledExecutionException
public java.lang.Boolean scrollTopMost(java.lang.Object element, java.lang.Integer maxSwipes) throws ExecutionException
element
- element to be scrolledmaxSwipes
- maximum swipes to attempt to scroll to the topmost position. If not specified, the default max swipes as supported by the device will be used.ExecutionException
public java.lang.Boolean scrollTopMost(java.lang.Object element) throws ExecutionException
element
- element to be scrolledExecutionException
public java.lang.Boolean scrollBottomMost(java.lang.Object element, java.lang.Integer maxSwipes) throws ExecutionException
element
- element to be scrolledmaxSwipes
- maximum swipes to attempt to scroll to the bottommost position. If not specified, the default max swipes as supported by the device will be used.ExecutionException
public java.lang.Boolean scrollBottomMost(java.lang.Object element) throws ExecutionException
element
- element to be scrolledExecutionException
public java.lang.Boolean scrollLeft(java.lang.Object element, java.lang.Object percent, java.lang.Integer speed) throws ExecutionException
element
- element to be scrolledpercent
- percent to scroll the element, If not specified, a value of 1.0 will be used.speed
- speed to perform scroll, If not specified, default value will be used specific to device.ExecutionException
public java.lang.Boolean scrollLeft(java.lang.Object element, java.lang.Object percent) throws ExecutionException
element
- element to be scrolledpercent
- percent to scroll the element, If not specified, a value of 1.0 will be used.ExecutionException
public java.lang.Boolean scrollLeft(java.lang.Object element) throws ExecutionException
element
- element to be scrolledExecutionException
public java.lang.Boolean scrollRight(java.lang.Object element, java.lang.Object percent, java.lang.Integer speed) throws ExecutionException
element
- element to be scrolledpercent
- percent to scroll the element, If not specified, a value of 1.0 will be used.speed
- speed to perform scroll, If not specified, default value will be used specific to device.ExecutionException
public java.lang.Boolean scrollRight(java.lang.Object element, java.lang.Object percent) throws ExecutionException
element
- element to be scrolledpercent
- percent to scroll the element, If not specified, a value of 1.0 will be used.ExecutionException
public java.lang.Boolean scrollRight(java.lang.Object element) throws ExecutionException
element
- element to be scrolledExecutionException
public java.lang.Boolean scrollUp(java.lang.Object element, java.lang.Object percent, java.lang.Integer speed) throws ExecutionException
element
- element to be scrolledpercent
- percent to scroll the element, If not specified, a value of 1.0 will be used.speed
- speed to perform scroll, If not specified, default value will be used specific to device.ExecutionException
public java.lang.Boolean scrollUp(java.lang.Object element, java.lang.Object percent) throws ExecutionException
element
- element to be scrolledpercent
- percent to scroll the element, If not specified, a value of 1.0 will be used.ExecutionException
public java.lang.Boolean scrollUp(java.lang.Object element) throws ExecutionException
element
- element to be scrolledExecutionException
public java.lang.Boolean scrollDown(java.lang.Object element, java.lang.Object percent, java.lang.Integer speed) throws ExecutionException
element
- element to be scrolledpercent
- percent to scroll the element, If not specified, a value of 1.0 will be used.speed
- speed to perform scroll, If not specified, default value will be used specific to device.ExecutionException
public java.lang.Boolean scrollDown(java.lang.Object element, java.lang.Object percent) throws ExecutionException
element
- element to be scrolledpercent
- percent to scroll the element, If not specified, a value of 1.0 will be used.ExecutionException
public java.lang.Boolean scrollDown(java.lang.Object element) throws ExecutionException
element
- element to be scrolledExecutionException
public void startWebContext(java.lang.String packageName) throws ExecutionException
packageName
- application package nameExecutionException
public void stopWebContext() throws ExecutionException
ExecutionException
public void setSwipeDeadzonePercentage(java.lang.Object percent) throws ExecutionException
percent
- percent to set the deadzone for Swipe gesture.ExecutionException
public void alert(java.lang.String message) throws ExecutionException
message
- Message to be alerted on browser.ExecutionException
public void highlight(ElementStub element) throws ExecutionException
element
- Element to highlightExecutionException
public java.lang.String[][] readExcelFile(java.lang.String filePath, java.lang.String sheetName, java.lang.Object props) throws ExecutionException
filePath
- path to Excel file. Can be of extension .xls or .xlsxsheetName
- Sheet name. Defaults to sheetname of first sheet.props
- Properties to specify for:ExecutionException
public java.lang.String[][] readExcelFile(java.lang.String filePath, java.lang.String sheetName) throws ExecutionException
filePath
- path to Excel file. Can be of extension .xls or .xlsxsheetName
- Sheet name. Defaults to sheetname of first sheet.ExecutionException
public java.lang.String[][] readExcelFile(java.lang.String filePath) throws ExecutionException
filePath
- path to Excel file. Can be of extension .xls or .xlsxExecutionException
public java.lang.String execute(java.lang.String cmd, java.lang.Boolean isSync, java.lang.Integer timeout) throws ExecutionException
cmd
- Command to be executed. Normally this will be a command that can be run on the system's commandlineisSync
- If true, returns only on completion of cmd. If false, returns immediately while cmd is run in backgroundtimeout
- If timeout is specified and if isSync is true,ExecutionException
public java.lang.String execute(java.lang.String cmd, java.lang.Boolean isSync) throws ExecutionException
cmd
- Command to be executed. Normally this will be a command that can be run on the system's commandlineisSync
- If true, returns only on completion of cmd. If false, returns immediately while cmd is run in backgroundExecutionException
public java.lang.String execute(java.lang.String cmd) throws ExecutionException
cmd
- Command to be executed. Normally this will be a command that can be run on the system's commandlineExecutionException
public java.lang.String getValue(ElementStub element) throws ExecutionException
element
- Form element whose value we needExecutionException
public void assertValue(ElementStub element, java.lang.String expected, java.lang.String message) throws ExecutionException
element
- Form element whose value we needexpected
- expected stringmessage
- message to log if condition failsExecutionException
public void assertValue(ElementStub element, java.lang.String expected) throws ExecutionException
element
- Form element whose value we needexpected
- expected stringExecutionException
public void assertNotValue(ElementStub element, java.lang.String expected, java.lang.String message) throws ExecutionException
element
- Form element whose value we needexpected
- expected stringmessage
- message to log if condition failsExecutionException
public void assertNotValue(ElementStub element, java.lang.String expected) throws ExecutionException
element
- Form element whose value we needexpected
- expected stringExecutionException
public java.lang.String getText(ElementStub el) throws ExecutionException
el
- Element whose text we needExecutionException
public void assertText(ElementStub el, java.lang.String expected, java.lang.String message) throws ExecutionException
el
- Element whose text we needexpected
- expected stringmessage
- message to log if condition failsExecutionException
public void assertText(ElementStub el, java.lang.String expected) throws ExecutionException
el
- Element whose text we needexpected
- expected stringExecutionException
public void assertNotText(ElementStub el, java.lang.String expected, java.lang.String message) throws ExecutionException
el
- Element whose text we needexpected
- expected stringmessage
- message to log if condition failsExecutionException
public void assertNotText(ElementStub el, java.lang.String expected) throws ExecutionException
el
- Element whose text we needexpected
- expected stringExecutionException
public java.lang.String[] getOptions(ElementStub el, java.lang.String type) throws ExecutionException
el
- Select elementtype
- If "value" is passed, option values are returned.ExecutionException
public void assertOptions(ElementStub el, java.lang.String type, java.lang.String[] expected, java.lang.String message) throws ExecutionException
el
- Select elementtype
- If "value" is passed, option values are returned.expected
- expected array of stringsmessage
- message to log if condition failsExecutionException
public void assertOptions(ElementStub el, java.lang.String type, java.lang.String[] expected) throws ExecutionException
el
- Select elementtype
- If "value" is passed, option values are returned.expected
- expected array of stringsExecutionException
public void assertNotOptions(ElementStub el, java.lang.String type, java.lang.String[] expected, java.lang.String message) throws ExecutionException
el
- Select elementtype
- If "value" is passed, option values are returned.expected
- expected array of stringsmessage
- message to log if condition failsExecutionException
public void assertNotOptions(ElementStub el, java.lang.String type, java.lang.String[] expected) throws ExecutionException
el
- Select elementtype
- If "value" is passed, option values are returned.expected
- expected array of stringsExecutionException
public java.lang.String[] getOptions(ElementStub el) throws ExecutionException
el
- Select elementExecutionException
public java.lang.String[] getSelectedText(ElementStub el) throws ExecutionException
el
- Select dropdown element whose selected text we needExecutionException
public void assertSelectedText(ElementStub el, java.lang.String expected, java.lang.String message) throws ExecutionException
el
- Select dropdown element whose selected text we needexpected
- expected stringmessage
- message to log if condition failsExecutionException
public void assertSelectedText(ElementStub el, java.lang.String expected) throws ExecutionException
el
- Select dropdown element whose selected text we needexpected
- expected stringExecutionException
public void assertNotSelectedText(ElementStub el, java.lang.String expected, java.lang.String message) throws ExecutionException
el
- Select dropdown element whose selected text we needexpected
- expected stringmessage
- message to log if condition failsExecutionException
public void assertNotSelectedText(ElementStub el, java.lang.String expected) throws ExecutionException
el
- Select dropdown element whose selected text we needexpected
- expected stringExecutionException
public java.lang.String getAttribute(ElementStub el, java.lang.String attributeName) throws ExecutionException
el
- Element whose attribute we needattributeName
- The DOM attribute to be fetchedExecutionException
public java.lang.Boolean exists(ElementStub el) throws ExecutionException
el
- Element to checkExecutionException
public void assertExists(ElementStub el, java.lang.String message) throws ExecutionException
el
- Element to checkmessage
- message to log if condition failsExecutionException
public void assertExists(ElementStub el) throws ExecutionException
el
- Element to checkExecutionException
public void assertNotExists(ElementStub el, java.lang.String message) throws ExecutionException
el
- Element to checkmessage
- message to log if condition failsExecutionException
public void assertNotExists(ElementStub el) throws ExecutionException
el
- Element to checkExecutionException
public java.lang.Boolean isVisible(ElementStub el, java.lang.Boolean checkZIndex, java.lang.Boolean doScroll) throws ExecutionException
el
- Element to checkcheckZIndex
- If true, checks whether the element is on top or not(Checks whether some other element with a higher Z index is not hiding it). If false, omits this check.doScroll
- If true, checks whether element is the top element by scrolling to the element. If false, checks only for the current viewport.ExecutionException
public void assertVisible(ElementStub el, java.lang.Boolean checkZIndex, java.lang.Boolean doScroll, java.lang.String message) throws ExecutionException
el
- Element to checkcheckZIndex
- If true, checks whether the element is on top or not(Checks whether some other element with a higher Z index is not hiding it). If false, omits this check.doScroll
- If true, checks whether element is the top element by scrolling to the element. If false, checks only for the current viewport.message
- message to log if condition failsExecutionException
public void assertVisible(ElementStub el, java.lang.Boolean checkZIndex, java.lang.Boolean doScroll) throws ExecutionException
el
- Element to checkcheckZIndex
- If true, checks whether the element is on top or not(Checks whether some other element with a higher Z index is not hiding it). If false, omits this check.doScroll
- If true, checks whether element is the top element by scrolling to the element. If false, checks only for the current viewport.ExecutionException
public void assertNotVisible(ElementStub el, java.lang.Boolean checkZIndex, java.lang.Boolean doScroll, java.lang.String message) throws ExecutionException
el
- Element to checkcheckZIndex
- If true, checks whether the element is on top or not(Checks whether some other element with a higher Z index is not hiding it). If false, omits this check.doScroll
- If true, checks whether element is the top element by scrolling to the element. If false, checks only for the current viewport.message
- message to log if condition failsExecutionException
public void assertNotVisible(ElementStub el, java.lang.Boolean checkZIndex, java.lang.Boolean doScroll) throws ExecutionException
el
- Element to checkcheckZIndex
- If true, checks whether the element is on top or not(Checks whether some other element with a higher Z index is not hiding it). If false, omits this check.doScroll
- If true, checks whether element is the top element by scrolling to the element. If false, checks only for the current viewport.ExecutionException
public java.lang.Boolean isVisible(ElementStub el, java.lang.Boolean checkZIndex) throws ExecutionException
el
- Element to checkcheckZIndex
- If true, checks whether the element is on top or not(Checks whether some other element with a higher Z index is not hiding it). If false, omits this check.ExecutionException
public void assertVisible(ElementStub el, java.lang.Boolean checkZIndex) throws ExecutionException
el
- Element to checkcheckZIndex
- If true, checks whether the element is on top or not(Checks whether some other element with a higher Z index is not hiding it). If false, omits this check.ExecutionException
public void assertNotVisible(ElementStub el, java.lang.Boolean checkZIndex) throws ExecutionException
el
- Element to checkcheckZIndex
- If true, checks whether the element is on top or not(Checks whether some other element with a higher Z index is not hiding it). If false, omits this check.ExecutionException
public java.lang.Boolean isVisible(ElementStub el) throws ExecutionException
el
- Element to checkExecutionException
public void assertVisible(ElementStub el) throws ExecutionException
el
- Element to checkExecutionException
public void assertNotVisible(ElementStub el) throws ExecutionException
el
- Element to checkExecutionException
public java.lang.Boolean isChecked(ElementStub el) throws ExecutionException
el
- Element to checkExecutionException
public void assertChecked(ElementStub el, java.lang.String message) throws ExecutionException
el
- Element to checkmessage
- message to log if condition failsExecutionException
public void assertChecked(ElementStub el) throws ExecutionException
el
- Element to checkExecutionException
public void assertNotChecked(ElementStub el, java.lang.String message) throws ExecutionException
el
- Element to checkmessage
- message to log if condition failsExecutionException
public void assertNotChecked(ElementStub el) throws ExecutionException
el
- Element to checkExecutionException
public java.lang.Boolean isEnabled(java.lang.Object element) throws ExecutionException
element
- element to be checkExecutionException
public java.lang.Boolean containsText(ElementStub element, java.lang.String text) throws ExecutionException
element
- Element where we need to check if text is presenttext
- Text to check for. Can also be a regular expressionExecutionException
public void assertContainsText(ElementStub element, java.lang.String text, java.lang.String message) throws ExecutionException
element
- Element where we need to check if text is presenttext
- Text to check for. Can also be a regular expressionmessage
- message to log if condition failsExecutionException
public void assertContainsText(ElementStub element, java.lang.String text) throws ExecutionException
element
- Element where we need to check if text is presenttext
- Text to check for. Can also be a regular expressionExecutionException
public void assertNotContainsText(ElementStub element, java.lang.String text, java.lang.String message) throws ExecutionException
element
- Element where we need to check if text is presenttext
- Text to check for. Can also be a regular expressionmessage
- message to log if condition failsExecutionException
public void assertNotContainsText(ElementStub element, java.lang.String text) throws ExecutionException
element
- Element where we need to check if text is presenttext
- Text to check for. Can also be a regular expressionExecutionException
public java.lang.Boolean containsHTML(ElementStub element, java.lang.String html) throws ExecutionException
element
- Element where we need to check if text is presenthtml
- HTML to check for. Can also be a regular expressionExecutionException
public java.lang.Boolean contains(ElementStub parent, ElementStub child) throws ExecutionException
parent
- Parent elementchild
- Child elementExecutionException
public java.lang.String title() throws ExecutionException
ExecutionException
public java.lang.String[][] getTableContents(ElementStub tableEl, java.lang.Object[] columns, java.lang.String rows, java.lang.Integer count) throws ExecutionException
tableEl
- Table elementcolumns
- Array of column identifiers. The identifiers can be index, text or regular expression of textrows
- Can be a regular expression, an array of indexes or the starting indexcount
- If rows is the starting index, count is the ending index, If rows is a regular expression, count is the total count. If rows is an array of indexes, count is ignored.ExecutionException
public java.lang.String[][] getTableContents(ElementStub tableEl, java.lang.Object[] columns, java.lang.String rows) throws ExecutionException
tableEl
- Table elementcolumns
- Array of column identifiers. The identifiers can be index, text or regular expression of textrows
- Can be a regular expression, an array of indexes or the starting indexExecutionException
public java.lang.String[][] getTableContents(ElementStub tableEl, java.lang.Object[] columns, java.lang.Integer rows, java.lang.Integer count) throws ExecutionException
tableEl
- Table elementcolumns
- Array of column identifiers. The identifiers can be index, text or regular expression of textrows
- Can be a regular expression, an array of indexes or the starting indexcount
- If rows is the starting index, count is the ending index, If rows is a regular expression, count is the total count. If rows is an array of indexes, count is ignored.ExecutionException
public java.lang.String[][] getTableContents(ElementStub tableEl, java.lang.Object[] columns, java.lang.Integer rows) throws ExecutionException
tableEl
- Table elementcolumns
- Array of column identifiers. The identifiers can be index, text or regular expression of textrows
- Can be a regular expression, an array of indexes or the starting indexExecutionException
public java.lang.String[][] getTableContents(ElementStub tableEl, java.lang.Object[] columns, java.lang.Integer[] rows, java.lang.Integer count) throws ExecutionException
tableEl
- Table elementcolumns
- Array of column identifiers. The identifiers can be index, text or regular expression of textrows
- Can be a regular expression, an array of indexes or the starting indexcount
- If rows is the starting index, count is the ending index, If rows is a regular expression, count is the total count. If rows is an array of indexes, count is ignored.ExecutionException
public java.lang.String[][] getTableContents(ElementStub tableEl, java.lang.Object[] columns, java.lang.Integer[] rows) throws ExecutionException
tableEl
- Table elementcolumns
- Array of column identifiers. The identifiers can be index, text or regular expression of textrows
- Can be a regular expression, an array of indexes or the starting indexExecutionException
public java.lang.String[][] getTableContents(ElementStub tableEl, java.lang.Object[] columns) throws ExecutionException
tableEl
- Table elementcolumns
- Array of column identifiers. The identifiers can be index, text or regular expression of textExecutionException
public java.lang.String[][] getTableContents(ElementStub tableEl) throws ExecutionException
tableEl
- Table elementExecutionException
public java.lang.String style(ElementStub el, java.lang.String styleAttribute) throws ExecutionException
el
- element whose style attribute we needstyleAttribute
- style attribute to be fetchedExecutionException
public java.lang.Integer[] position(ElementStub el, java.lang.Boolean relative) throws ExecutionException
el
- element whose position we needrelative
- If true, returns position relative to current viewport.ExecutionException
public void assertPosition(ElementStub el, java.lang.Boolean relative, java.lang.Integer[] expected, java.lang.String message) throws ExecutionException
el
- element whose position we needrelative
- If true, returns position relative to current viewport.expected
- expected array of integersmessage
- message to log if condition failsExecutionException
public void assertPosition(ElementStub el, java.lang.Boolean relative, java.lang.Integer[] expected) throws ExecutionException
el
- element whose position we needrelative
- If true, returns position relative to current viewport.expected
- expected array of integersExecutionException
public void assertNotPosition(ElementStub el, java.lang.Boolean relative, java.lang.Integer[] expected, java.lang.String message) throws ExecutionException
el
- element whose position we needrelative
- If true, returns position relative to current viewport.expected
- expected array of integersmessage
- message to log if condition failsExecutionException
public void assertNotPosition(ElementStub el, java.lang.Boolean relative, java.lang.Integer[] expected) throws ExecutionException
el
- element whose position we needrelative
- If true, returns position relative to current viewport.expected
- expected array of integersExecutionException
public java.lang.Integer[] position(ElementStub el) throws ExecutionException
el
- element whose position we needExecutionException
public java.lang.Integer[] positionNative(ElementStub el) throws ExecutionException
el
- element whose position we needExecutionException
public java.lang.String getSelectionText(ElementStub el) throws ExecutionException
el
- Element in which to look for selection.ExecutionException
public void assertSelectionText(ElementStub el, java.lang.String expected, java.lang.String message) throws ExecutionException
el
- Element in which to look for selection.expected
- expected stringmessage
- message to log if condition failsExecutionException
public void assertSelectionText(ElementStub el, java.lang.String expected) throws ExecutionException
el
- Element in which to look for selection.expected
- expected stringExecutionException
public void assertNotSelectionText(ElementStub el, java.lang.String expected, java.lang.String message) throws ExecutionException
el
- Element in which to look for selection.expected
- expected stringmessage
- message to log if condition failsExecutionException
public void assertNotSelectionText(ElementStub el, java.lang.String expected) throws ExecutionException
el
- Element in which to look for selection.expected
- expected stringExecutionException
public java.lang.String getSelectionText() throws ExecutionException
ExecutionException
public java.lang.String userAgent() throws ExecutionException
ExecutionException
public java.lang.Integer[] getScreenSize() throws ExecutionException
ExecutionException
public java.lang.Boolean isIE() throws ExecutionException
ExecutionException
public java.lang.Boolean isIE9() throws ExecutionException
ExecutionException
public java.lang.Boolean isIE10() throws ExecutionException
ExecutionException
public java.lang.Boolean isEdge() throws ExecutionException
ExecutionException
public java.lang.Boolean isEdgeNew() throws ExecutionException
ExecutionException
public java.lang.Boolean isFF() throws ExecutionException
ExecutionException
public java.lang.Boolean isFF3() throws ExecutionException
ExecutionException
public java.lang.Boolean isFF4() throws ExecutionException
ExecutionException
public java.lang.Boolean isChrome() throws ExecutionException
ExecutionException
public java.lang.Boolean isSafari() throws ExecutionException
ExecutionException
public java.lang.Boolean isOpera() throws ExecutionException
ExecutionException
public java.lang.Boolean isPhantomJS() throws ExecutionException
ExecutionException
public java.lang.Boolean isHTMLUnit() throws ExecutionException
ExecutionException
public java.lang.Integer count(java.lang.String elementType, java.lang.String identifier, java.lang.Object... relations) throws ExecutionException
elementType
- type of elements to collect. Eg. "_link"
, "_button"
, "/text/"
etc.identifier
- Sahi Identifier/Attributes JSON. Can also be just an index.relations
- Relations like _in, _near etc.ExecutionException
public java.lang.Integer count(java.lang.String elementType, java.lang.Object identifier, java.lang.Object... relations) throws ExecutionException
elementType
- type of elements to collect. Eg. "_link"
, "_button"
, "/text/"
etc.identifier
- Sahi Identifier/Attributes JSON. Can also be just an index.relations
- Relations like _in, _near etc.ExecutionException
public java.util.List<java.lang.String> collectAttributes(java.lang.String elementType, java.lang.String identifier, java.lang.String attribute, java.lang.Object... relations) throws ExecutionException
elementType
- type of elements to collect."_link"
, "_button"
, "/text/"
etc.identifier
- Sahi Identifier. Can also be just an index.attribute
- attribute or function.relations
- Relations like _in, _near etc.ExecutionException
public java.util.List<java.lang.String> collectAttributes(java.lang.String elementType, java.lang.String identifier, java.lang.Object attribute, java.lang.Object... relations) throws ExecutionException
elementType
- type of elements to collect."_link"
, "_button"
, "/text/"
etc.identifier
- Sahi Identifier. Can also be just an index.attribute
- attribute or function.relations
- Relations like _in, _near etc.ExecutionException
public void setFlexReadyCondition(java.lang.Object fn) throws ExecutionException
fn
- Function which evaluates to true/false. Function denotes when the flex app is considered to be ready for Sahi.ExecutionException
public void setHttpHeader(java.lang.String key, java.lang.String value) throws ExecutionException
key
- HTTP header namevalue
- HTTP header valueExecutionException
public void addHttpHeader(java.lang.String key, java.lang.String value) throws ExecutionException
key
- HTTP header namevalue
- HTTP header valueExecutionException
public void removeHttpHeader(java.lang.String key) throws ExecutionException
key
- HTTP header nameExecutionException
public void resetHttpHeader(java.lang.String key) throws ExecutionException
key
- HTTP header nameExecutionException
public void mapDomainToIP(java.lang.String urlBase, java.lang.String ip) throws ExecutionException
urlBase
- url with protocol, domain and port (if present). Ex. http://dummy.domain.com/
or https://dummy.domain.com:8080/
ip
- IP to map url's domain to. If $ip is not specified or is null, any existing mapping for that domain will be removed.ExecutionException
public void mapDomainToIP(java.lang.String urlBase, java.lang.Object ip) throws ExecutionException
urlBase
- url with protocol, domain and port (if present). Ex. http://dummy.domain.com/
or https://dummy.domain.com:8080/
ip
- IP to map url's domain to. If $ip is not specified or is null, any existing mapping for that domain will be removed.ExecutionException
public void disableKeepAlive() throws ExecutionException
ExecutionException
public void enableKeepAlive() throws ExecutionException
ExecutionException
public java.lang.String cookie(java.lang.String name, java.lang.String path) throws ExecutionException
name
- Cookie namepath
- Location for which the cookie is assignedExecutionException
public java.lang.String cookie(java.lang.String name) throws ExecutionException
name
- Cookie nameExecutionException
public void createCookie(java.lang.String name, java.lang.String value, java.lang.Integer days) throws ExecutionException
name
- Cookie namevalue
- Cookie valuedays
- Days to expiryExecutionException
public void deleteCookie(java.lang.String name) throws ExecutionException
name
- Cookie nameExecutionException
public void addResponseSubstitutionRule(java.lang.String name, java.lang.String urlPattern, java.lang.Boolean isRegExp, java.lang.String find, java.lang.String replace) throws ExecutionException
name
- Response substitution rule nameurlPattern
- Substitution url patternisRegExp
- Boolean parameter to find the string as regular expressions if true.find
- Find the value to replace.replace
- Replacing all occurrences of old value in this string.ExecutionException
public void removeResponseSubstitutionRule(java.lang.String name) throws ExecutionException
name
- Response substitution rule nameExecutionException
public void twoFingerTap(java.lang.Object element) throws ExecutionException
element
- Element to be tapped.ExecutionException
public void tapWithNumberOfTapsNumberOfTouches(java.lang.Object element, java.lang.Integer taps, java.lang.Integer touches) throws ExecutionException
element
- element to be tappedtaps
- Number of tapstouches
- Number of touches.ExecutionException
public void rotate(java.lang.Object element, java.lang.Object rotationAngle, java.lang.Object velocity) throws ExecutionException
element
- Element to be rotatedrotationAngle
- Rotation of the gesture in radians. A positive value indicates a clockwise rotation. A negative value indicates counter clockwise rotation.velocity
- Velocity of the rotation gesture in radians per second. If rotationAngle is negative, then velocity must be negative.ExecutionException
public void activateSiriWithVoiceRecognitionText(java.lang.String text) throws ExecutionException
text
- Text to be recognized.ExecutionException
public void pressVolumeUp() throws ExecutionException
ExecutionException
public void pressVolumeDown() throws ExecutionException
ExecutionException
public java.lang.Boolean isSelected(java.lang.Object element) throws ExecutionException
element
- Element whose isSelected attribute is to be checked.ExecutionException
public java.lang.Boolean isDevice() throws ExecutionException
ExecutionException
public java.lang.Boolean getApplicationState(java.lang.Object bundleId) throws ExecutionException
bundleId
- Bundle id of application whose state is required.Element whose isSelected attribute is to be checked.ExecutionException
public void expectSystemDialog(java.lang.String message, java.lang.String buttonIdentifier, java.lang.Boolean persist) throws ExecutionException
message
- Message to expect in dialog. This can also be a regular expressionbuttonIdentifier
- Sahi Identifier for the button. Can also be just an index.persist
- If true, will accept a single _iExpectSystemDialog statement for all system dialogs coming after the statement.ExecutionException
public void expectSystemDialog(java.lang.String message, java.lang.String buttonIdentifier) throws ExecutionException
message
- Message to expect in dialog. This can also be a regular expressionbuttonIdentifier
- Sahi Identifier for the button. Can also be just an index.ExecutionException
public void expectSystemDialog(java.lang.String message, java.lang.Integer buttonIdentifier, java.lang.Boolean persist) throws ExecutionException
message
- Message to expect in dialog. This can also be a regular expressionbuttonIdentifier
- Sahi Identifier for the button. Can also be just an index.persist
- If true, will accept a single _iExpectSystemDialog statement for all system dialogs coming after the statement.ExecutionException
public void expectSystemDialog(java.lang.String message, java.lang.Integer buttonIdentifier) throws ExecutionException
message
- Message to expect in dialog. This can also be a regular expressionbuttonIdentifier
- Sahi Identifier for the button. Can also be just an index.ExecutionException
public void interactWithApp() throws ExecutionException
ExecutionException
public java.lang.String lastSystemDialog() throws ExecutionException
alldialogs
- If true, returns array of all system dialog messages.ExecutionException
public java.lang.String[] lastSystemDialogs() throws ExecutionException
alldialogs
- If true, returns array of all system dialog messages.ExecutionException
public void clearLastSystemDialog() throws ExecutionException
ExecutionException
public void setAutoDismissKeyboard(java.lang.Boolean autoDismiss) throws ExecutionException
autoDismiss
- true or falseExecutionException
public void launchJavaWSApplication(java.lang.String applicationPath) throws ExecutionException
applicationPath
- absolute path of JNLP specific applicationExecutionException
public void launchJavaApplication(java.lang.String applicationPath, java.lang.String applicationLaunchCommand) throws ExecutionException
applicationPath
- absolute path of the Java applicationapplicationLaunchCommand
- command to launch the Java application.ExecutionException
public void dragNative(java.lang.Object element) throws ExecutionException
element
- element to be draggedExecutionException
public void dropNative(java.lang.Object element) throws ExecutionException
element
- element where the dragged element will be droppedExecutionException
public java.lang.Integer[] getCellIndex(java.lang.Object tableEl) throws ExecutionException
tableEl
- Table elementExecutionException
public java.lang.String getIconPath(java.lang.Object element) throws ExecutionException
element
- Element whose icon's path we needExecutionException
public java.lang.String lastAlert() throws ExecutionException
allalerts
- If true, returns array of all alert messages.ExecutionException
public java.lang.String[] lastAlerts() throws ExecutionException
allalerts
- If true, returns array of all alert messages.ExecutionException
public void expectAlert(java.lang.String message, java.lang.Boolean persist) throws ExecutionException
message
- message to expect in dialog. This can also be a regular expressionpersist
- if true, will accept a single _expectAlert statement for all alerts coming after the statement. If false, will accept only the next alert box to work with the _expectAlert statement. Default is false.ExecutionException
public void expectAlert(java.lang.String message) throws ExecutionException
message
- message to expect in dialog. This can also be a regular expressionExecutionException
public void clearLastAlert() throws ExecutionException
ExecutionException
public java.lang.String lastConfirm() throws ExecutionException
allconfirms
- If true, returns array of all confirm dialog messages.ExecutionException
public java.lang.String[] lastConfirms() throws ExecutionException
allconfirms
- If true, returns array of all confirm dialog messages.ExecutionException
public void expectConfirm(java.lang.String message, java.lang.Boolean value, java.lang.Boolean persist) throws ExecutionException
message
- message to expect in dialog. This can also be a regular expressionvalue
- if true will press OK when a confirm dialog with given message appears. If false, will click on Cancel.persist
- if true, will accept a single _expectConfirm statement for all confirms coming after the statement. If false, will accept only the next confirm box to work with the _expectConfirm statement. Default is false.ExecutionException
public void expectConfirm(java.lang.String message, java.lang.Boolean value) throws ExecutionException
message
- message to expect in dialog. This can also be a regular expressionvalue
- if true will press OK when a confirm dialog with given message appears. If false, will click on Cancel.ExecutionException
public void clearLastConfirm() throws ExecutionException
ExecutionException
public java.lang.String lastPrompt() throws ExecutionException
allprompts
- If true, returns array of all prompt messages.ExecutionException
public java.lang.String[] lastPrompts() throws ExecutionException
allprompts
- If true, returns array of all prompt messages.ExecutionException
public void expectPrompt(java.lang.String promptMessage, java.lang.String response, java.lang.Boolean persist) throws ExecutionException
promptMessage
- message to expect in dialog. This can also be a regular expressionresponse
- Response to enter into the prompt. null to behave as if Cancel was pressed.persist
- if true, will accept a single _expectPrompt statement for all prompts coming after the statement. If false, will accept only the next prompt box to work with the _expectPrompt statement. Default is false. Added in 7.5.0ExecutionException
public void expectPrompt(java.lang.String promptMessage, java.lang.String response) throws ExecutionException
promptMessage
- message to expect in dialog. This can also be a regular expressionresponse
- Response to enter into the prompt. null to behave as if Cancel was pressed.ExecutionException
public void clearLastPrompt() throws ExecutionException
ExecutionException
public java.lang.Boolean printCalled() throws ExecutionException
ExecutionException
public void expectPrint(java.lang.Boolean persist) throws ExecutionException
persist
- if true, will accept a single _expectPrint statement for all prints coming after the statement. If false, will accept only the next print box to work with the _expectPrint statement. Default is false.ExecutionException
public void expectPrint() throws ExecutionException
ExecutionException
public void clearPrintCalled() throws ExecutionException
ExecutionException
public java.lang.String getLayout(java.lang.Object elementAPIs, java.lang.Object elements) throws ExecutionException
elementAPIs
- element apis which user wants to ignore in layout.elements
- provide elements to take page layout of sections covered by these elements.ExecutionException
public java.lang.String getLayout(java.lang.Object elementAPIs) throws ExecutionException
elementAPIs
- element apis which user wants to ignore in layout.ExecutionException
public java.lang.String getLayout() throws ExecutionException
ExecutionException
public java.lang.Boolean verifyLayout(java.util.List<java.util.List<ElementStub>> data, java.lang.Integer threshold) throws ExecutionException
data
- Elements in same row are considered horizontal. Elements in subsequent rows are vertically below elements in previous row.threshold
- If the vertical distance between the top left of 2 elements is within threshold number of pixels, they are considered to be horizontally aligned.ExecutionException
public void activateApplication(java.lang.String bundleId, java.lang.Boolean force) throws ExecutionException
bundleId
- Android: Package name of the applicationforce
- Flag to specify whether to start an application with clean state. If not specified, default false will be used.ExecutionException
public void activateApplication(java.lang.String bundleId) throws ExecutionException
bundleId
- Android: Package name of the applicationExecutionException
public void longClick(java.lang.Object element, java.lang.Integer duration) throws ExecutionException
element
- Mobile element to long click onduration
- Duration for the long click.ExecutionException
public void longClick(java.lang.Object element) throws ExecutionException
element
- Mobile element to long click onExecutionException
public void pinchOpen(java.lang.Object element, java.lang.Object percent, java.lang.Integer speed) throws ExecutionException
element
- Mobile element to perform pinch open action on.percent
- Android: Optional. The size of the pinch as a percentage of this element's size. If not specified, a value of 1.0 will be used.speed
- Android: Optional. Speed to perform the pinch gesture, to be specified as an integer . If not specified, default value will be used specific to device.ExecutionException
public void pinchOpen(java.lang.Object element, java.lang.Object percent, java.lang.Object speed) throws ExecutionException
element
- Mobile element to perform pinch open action on.percent
- Android: Optional. The size of the pinch as a percentage of this element's size. If not specified, a value of 1.0 will be used.speed
- Android: Optional. Speed to perform the pinch gesture, to be specified as an integer . If not specified, default value will be used specific to device.ExecutionException
public void pinchClose(java.lang.Object element, java.lang.Object percent, java.lang.Integer speed) throws ExecutionException
element
- Mobile element to perform pinch close action on.percent
- Android: Optional. The size of the pinch as a percentage of this element's size. If not specified, a value of 1.0 will be used.speed
- Android: Optional. Speed to perform the pinch gesture, to be specified as an integer. If not specified, default value will be used specific to device.ExecutionException
public void pinchClose(java.lang.Object element, java.lang.Object percent, java.lang.Object speed) throws ExecutionException
element
- Mobile element to perform pinch close action on.percent
- Android: Optional. The size of the pinch as a percentage of this element's size. If not specified, a value of 1.0 will be used.speed
- Android: Optional. Speed to perform the pinch gesture, to be specified as an integer. If not specified, default value will be used specific to device.ExecutionException
public void pressHome() throws ExecutionException
ExecutionException
public void setOrientation(java.lang.Object orientationType) throws ExecutionException
orientationType
- Orientation type: can be PORTRAIT, PORTRAIT_UPSIDE_DOWN, LANDSCAPE_LEFT, LANDSCAPE_RIGHTExecutionException
public java.lang.String oSVersion() throws ExecutionException
ExecutionException
public java.lang.String getOrientation() throws ExecutionException
ExecutionException
public void swipeUp(java.lang.Object element, java.lang.Object percent, java.lang.Integer speed) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.percent
- Android: The length of the swipe as a percentage of the element's size. If not specified, a value of 1.0 will be used.speed
- Android: Speed to perform swipe. If not specified, default value will be used specific to device.ExecutionException
public void swipeUp(java.lang.Object element, java.lang.Object percent) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.percent
- Android: The length of the swipe as a percentage of the element's size. If not specified, a value of 1.0 will be used.ExecutionException
public void swipeUp(java.lang.Object element) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.ExecutionException
public void swipeUp() throws ExecutionException
ExecutionException
public void swipeDown(java.lang.Object element, java.lang.Object percent, java.lang.Integer speed) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.percent
- Android: The length of the swipe as a percentage of the element's size. If not specified, a value of 1.0 will be used.speed
- Android: Speed to perform swipe. If not specified, default value will be used specific to device.ExecutionException
public void swipeDown(java.lang.Object element, java.lang.Object percent) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.percent
- Android: The length of the swipe as a percentage of the element's size. If not specified, a value of 1.0 will be used.ExecutionException
public void swipeDown(java.lang.Object element) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.ExecutionException
public void swipeDown() throws ExecutionException
ExecutionException
public void swipeLeft(java.lang.Object element, java.lang.Object percent, java.lang.Integer speed) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.percent
- Android: The length of the swipe as a percentage of the element's size. If not specified, a value of 1.0 will be used.speed
- Android: Speed to perform swipe. If not specified, default value will be used specific to device.ExecutionException
public void swipeLeft(java.lang.Object element, java.lang.Object percent) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.percent
- Android: The length of the swipe as a percentage of the element's size. If not specified, a value of 1.0 will be used.ExecutionException
public void swipeLeft(java.lang.Object element) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.ExecutionException
public void swipeLeft() throws ExecutionException
ExecutionException
public void swipeRight(java.lang.Object element, java.lang.Object percent, java.lang.Integer speed) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.percent
- Android: The length of the swipe as a percentage of the element's size. If not specified, a value of 1.0 will be used.speed
- Android: Speed to perform swipe. If not specified, default value will be used specific to device.ExecutionException
public void swipeRight(java.lang.Object element, java.lang.Object percent) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.percent
- Android: The length of the swipe as a percentage of the element's size. If not specified, a value of 1.0 will be used.ExecutionException
public void swipeRight(java.lang.Object element) throws ExecutionException
element
- Element to be swiped. If not specified, then it will consider the top most element to perform swipe gesture.ExecutionException
public void swipeRight() throws ExecutionException
ExecutionException
public java.lang.String launchNewMobileBrowser(java.lang.String deviceId, java.lang.String url) throws ExecutionException
deviceId
- deviceId of the device on which the browser will be launched.url
- URL to load on opening new browser instance. If URL is null, the Start URL of the script is launched.ExecutionException
public java.lang.String launchNewMobileBrowser(java.lang.String deviceId) throws ExecutionException
deviceId
- deviceId of the device on which the browser will be launched.ExecutionException
public java.lang.String launchNewMobileBrowser2(java.lang.String deviceId, java.lang.String url) throws ExecutionException
deviceId
- deviceId of the device on which the browser will be launched, If deviceId is null, the Start DeviceId of the script is used.url
- URL to load on opening new browser instance. If URL is null, the Start URL of the script is launched.ExecutionException
public java.lang.String launchNewMobileBrowser2(java.lang.String deviceId) throws ExecutionException
deviceId
- deviceId of the device on which the browser will be launched, If deviceId is null, the Start DeviceId of the script is used.ExecutionException
public java.lang.String launchNewMobileBrowser2() throws ExecutionException
ExecutionException
public void setLanguage(java.lang.String translateTo, java.lang.String translateFrom, java.lang.Boolean append) throws ExecutionException
translateTo
- Path to properties file for language to translate to (eg. for English to German, this may be de.properties
). Paths are relative to script.translateFrom
- Path to properties file for language to translate from (eg. for English to German, this may be en.properties
). Paths are relative to script.append
- If true, appends the properties. Default is false.ExecutionException
public void setLanguage(java.lang.String translateTo, java.lang.String translateFrom) throws ExecutionException
translateTo
- Path to properties file for language to translate to (eg. for English to German, this may be de.properties
). Paths are relative to script.translateFrom
- Path to properties file for language to translate from (eg. for English to German, this may be en.properties
). Paths are relative to script.ExecutionException
public java.lang.String launchNewBrowser(java.lang.String url, java.lang.String browserType) throws ExecutionException
url
- URL to load on opening new browser instance. If URL is null, the Start URL of the script is launched.browserType
- Browser type to launch. If null, a browser instance of the Default browser type is launched.ExecutionException
public java.lang.String launchNewBrowser(java.lang.String url) throws ExecutionException
url
- URL to load on opening new browser instance. If URL is null, the Start URL of the script is launched.ExecutionException
public java.lang.String launchNewBrowser() throws ExecutionException
ExecutionException
public void selectBrowser(java.lang.String browserInstanceId) throws ExecutionException
browserInstanceId
- browserInstanceId to forward further steps to. If not specified, steps are forwarded to the default browser that the script was started with.ExecutionException
public void selectBrowser() throws ExecutionException
ExecutionException
public void selectDomain(java.lang.String domainIdentifier) throws ExecutionException
domainIdentifier
- Can be the domain name or a regular expression of it.ExecutionException
public void selectDomain() throws ExecutionException
ExecutionException
public java.lang.String connectDevice(java.lang.String deviceId) throws ExecutionException
deviceId
- Android: Id of device to connect to. If not specified, the default device is connected to.ExecutionException
public java.lang.String connectDevice() throws ExecutionException
ExecutionException
public void selectDevice(java.lang.String deviceInstanceId) throws ExecutionException
deviceInstanceId
- deviceInstanceId to forward further steps to. If not specified, steps are forwarded to the default device that the script was started with.ExecutionException
public void selectDevice() throws ExecutionException
ExecutionException
public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getWindows(java.lang.Integer activePeriod) throws ExecutionException
activePeriod
- time in milliseconds to return windows within the time. Default is 0, which returns all windows.ExecutionException
public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getWindows() throws ExecutionException
ExecutionException
public java.lang.Boolean windowExists(java.lang.String windowIdentifier, java.lang.Integer activePeriod) throws ExecutionException
windowIdentifier
- The windowIdentifier can be the window name, the window title, the window URL or the sahiWinId,activePeriod
- Time interval in milliseconds within which the specified window is checked for activity. Default is -1, which means the specified window is checked amongst all windows opened during the session. Available only for browser.ExecutionException
public java.lang.Boolean windowExists(java.lang.String windowIdentifier) throws ExecutionException
windowIdentifier
- The windowIdentifier can be the window name, the window title, the window URL or the sahiWinId,ExecutionException
public java.util.Map<java.lang.String,java.lang.String> getRecentWindow() throws ExecutionException
ExecutionException
public void startLookInside(ElementStub element) throws ExecutionException
element
- element in which the other element is locatedExecutionException
public void stopLookInside() throws ExecutionException
ExecutionException
public java.lang.String rteText(ElementStub el) throws ExecutionException
el
- Element which is content editable (eg. _rte(0))ExecutionException
public java.lang.String rteHTML(ElementStub el) throws ExecutionException
el
- Element which is content editable (eg. _rte(0))ExecutionException
public void rteWrite(ElementStub rte, java.lang.String html) throws ExecutionException
rte
- RTE to write intohtml
- html to writeExecutionException
public void launchSAPGUI() throws ExecutionException
ExecutionException
public void openSAPConnection(java.lang.String connectionName) throws ExecutionException
connectionName
- Name of the connection to openExecutionException
public void closeSAPConnection() throws ExecutionException
ExecutionException
public void createNewSAPSession() throws ExecutionException
ExecutionException
public void maximizeWindow(java.lang.String title) throws ExecutionException
title
- Title of the window to maximizeExecutionException
public void maximizeWindow() throws ExecutionException
ExecutionException
public void minimizeWindow(java.lang.String title) throws ExecutionException
title
- Title of the window to minimizeExecutionException
public void minimizeWindow() throws ExecutionException
ExecutionException
public void restoreWindow(java.lang.String title) throws ExecutionException
title
- Title of the window to restoreExecutionException
public void restoreWindow() throws ExecutionException
ExecutionException
public void resizeWindow(java.lang.String title, java.lang.Integer width, java.lang.Integer height) throws ExecutionException
title
- Title of the window to resizewidth
- New width for the windowheight
- New height for the windowExecutionException
public java.util.Map<java.lang.String,java.lang.String> getStatusInformation() throws ExecutionException
ExecutionException
public void selectRows(ElementStub element, java.lang.String rows) throws ExecutionException
element
- Table elementrows
- Comma separated list of row numbers to be selectedExecutionException
public void selectColumns(ElementStub element, java.lang.String columns) throws ExecutionException
element
- Table elementcolumns
- Comma separated list of column titles to be selectedExecutionException
public void htmlFormSubmit(ElementStub element, java.lang.String frameName, java.lang.String postData, java.lang.String url) throws ExecutionException
element
- HtmlViewer elementframeName
- Name of the parent frame of the HTML form to be submittedpostData
- Post data to be submittedurl
- Url to be submitted to the SAP server.ExecutionException
public void takeScreenShot(java.lang.String fileSysPath, java.lang.Boolean noLog, java.lang.Object props) throws ExecutionException
fileSysPath
- file path to copy screenshot in file systemnoLog
- true to prevent embedding the image in the playback log.props
- properties for image format(format) and image compression in precentage(resizePercentage)ExecutionException
public void takeScreenShot(java.lang.String fileSysPath, java.lang.Boolean noLog) throws ExecutionException
fileSysPath
- file path to copy screenshot in file systemnoLog
- true to prevent embedding the image in the playback log.ExecutionException
public void takeScreenShot(java.lang.String fileSysPath) throws ExecutionException
fileSysPath
- file path to copy screenshot in file systemExecutionException
public void takeScreenShot() throws ExecutionException
ExecutionException
public void takeScreenShots(java.lang.Boolean enable, java.lang.String directory, java.lang.Boolean noLog) throws ExecutionException
enable
- true for enabling screenshots, false to disabledirectory
- file path directory to copy screenshot in file systemnoLog
- true to prevent embedding the image in the playback log.ExecutionException
public void takeScreenShots(java.lang.Boolean enable, java.lang.String directory) throws ExecutionException
enable
- true for enabling screenshots, false to disabledirectory
- file path directory to copy screenshot in file systemExecutionException
public void takeScreenShots(java.lang.Boolean enable) throws ExecutionException
enable
- true for enabling screenshots, false to disableExecutionException
public void takePageScreenShot(ElementStub element, java.lang.String fileSysPath, java.lang.Boolean noLog, java.lang.Object props) throws ExecutionException
element
- If specified, a full page screenshot of the element would be takenfileSysPath
- File system path to save a copy of the screenshot, additionally to. Relative paths will be resolved relative to current executing script.noLog
- Pass true to prevent embedding the image in the playback log.props
- Properties to specify for image delay, scrollLimit, trim, format and image compression in percentage(resizePercentage).ExecutionException
public void takePageScreenShot(ElementStub element, java.lang.String fileSysPath, java.lang.Boolean noLog) throws ExecutionException
element
- If specified, a full page screenshot of the element would be takenfileSysPath
- File system path to save a copy of the screenshot, additionally to. Relative paths will be resolved relative to current executing script.noLog
- Pass true to prevent embedding the image in the playback log.ExecutionException
public void takePageScreenShot(ElementStub element, java.lang.String fileSysPath) throws ExecutionException
element
- If specified, a full page screenshot of the element would be takenfileSysPath
- File system path to save a copy of the screenshot, additionally to. Relative paths will be resolved relative to current executing script.ExecutionException
public void takePageScreenShot(ElementStub element) throws ExecutionException
element
- If specified, a full page screenshot of the element would be takenExecutionException
public void takePageScreenShot() throws ExecutionException
ExecutionException
public java.lang.Boolean compareImages(java.lang.String f1, java.lang.String f2, java.lang.Object differenceThreshold) throws ExecutionException
f1
- File path of the first image. Relative paths will be resolved relative to current executing script.f2
- File path of the second image. Relative paths will be resolved relative to current executing script.differenceThreshold
- If the difference between first and second image is lesser than or equal to the differenceThreshold number, they are considered to be same images.ExecutionException
public java.lang.Boolean compareImages(java.lang.String f1, java.lang.String f2) throws ExecutionException
f1
- File path of the first image. Relative paths will be resolved relative to current executing script.f2
- File path of the second image. Relative paths will be resolved relative to current executing script.ExecutionException
public void setXHRReadyStatesToWaitFor(java.lang.String readyStates, java.lang.String forURL) throws ExecutionException
readyStates
- Comma separated ready states e.g "1,2,3"forURL
- URL for which given ready states should be set. URL pattern can also be specified here using regular expression.ExecutionException
public void setXHRReadyStatesToWaitFor(java.lang.String readyStates) throws ExecutionException
readyStates
- Comma separated ready states e.g "1,2,3"ExecutionException
public void byPassWaitMechanism(java.lang.Boolean b) throws ExecutionException
b
- true or falseExecutionException
public void setWaitTimes(java.lang.Integer windowLoadTime, java.lang.Integer ajaxLoadTime, java.lang.Integer flexLoadTime) throws ExecutionException
windowLoadTime
- time in milliseconds. Default is 60000ms.ajaxLoadTime
- time in milliseconds. Default is 60000ms.flexLoadTime
- time in milliseconds. Default is 0ms.ExecutionException
public void setStrictVisibilityCheck(java.lang.Boolean doCheck, java.lang.Boolean checkZIndex, java.lang.Boolean doScroll) throws ExecutionException
doCheck
- set to true to enable strict visibility check.checkZIndex
- If true, checks whether the element is on top or not(Checks whether some other element with a higher Z index is not hiding it). If false, omits this check. Default is false.doScroll
- If true, checks whether element is the top element by scrolling to the element. If false, checks only for the current viewport. Default is false.ExecutionException
public void setStrictVisibilityCheck(java.lang.Boolean doCheck, java.lang.Boolean checkZIndex) throws ExecutionException
doCheck
- set to true to enable strict visibility check.checkZIndex
- If true, checks whether the element is on top or not(Checks whether some other element with a higher Z index is not hiding it). If false, omits this check. Default is false.ExecutionException
public void setStrictVisibilityCheck(java.lang.Boolean doCheck) throws ExecutionException
doCheck
- set to true to enable strict visibility check.ExecutionException
public void setSpeed(java.lang.Integer speed) throws ExecutionException
speed
- speed in millisecondsExecutionException
public void setPingDelayAfterStep(java.lang.Integer delay) throws ExecutionException
delay
- delay in millisecondsExecutionException
public void stopOnError() throws ExecutionException
ExecutionException
public void continueOnError() throws ExecutionException
ExecutionException
public java.lang.String lock(java.lang.String name, java.lang.Integer timeout) throws ExecutionException
name
- Lock nametimeout
- timeoutExecutionException
public java.lang.String lock(java.lang.String name) throws ExecutionException
name
- Lock nameExecutionException
public void unlock(java.lang.String key) throws ExecutionException
key
- Lock key returned from _lockExecutionException
public void lockWindow(java.lang.Object timeout) throws ExecutionException
timeout
- timeoutExecutionException
public void lockWindow() throws ExecutionException
ExecutionException
public void unlockWindow() throws ExecutionException
ExecutionException
public java.lang.String userDataDir(java.lang.String fileSeparator) throws ExecutionException
fileSeparator
- To get path with specified file separator."\\"
or "/"
"/"
ExecutionException
public java.lang.String userDataDir() throws ExecutionException
ExecutionException
public java.lang.String userDataPath(java.lang.String relPath, java.lang.String fileSeparator) throws ExecutionException
relPath
- Path to resolve relative to userdata pathfileSeparator
- To get path with specified file separator."\\"
or "/"
"/"
ExecutionException
public java.lang.String userDataPath(java.lang.String relPath) throws ExecutionException
relPath
- Path to resolve relative to userdata pathExecutionException
public java.lang.String readURL(java.lang.String url) throws ExecutionException
url
- URL to read content fromExecutionException
public void addMock(java.lang.String pattern, java.lang.String class_method) throws ExecutionException
pattern
- URL regex pattern as a string.class_method
- Combination of class and method names which will process this URL pattern.ExecutionException
public void addMock(java.lang.String pattern) throws ExecutionException
pattern
- URL regex pattern as a string.ExecutionException
public void mockImage(java.lang.String pattern, java.lang.String class_method) throws ExecutionException
pattern
- URL regex pattern as a string.class_method
- Combination of class and method names which will process this URL pattern.ExecutionException
public void mockImage(java.lang.String pattern) throws ExecutionException
pattern
- URL regex pattern as a string.ExecutionException
public void removeMock(java.lang.String pattern) throws ExecutionException
pattern
- URL regex pattern as a string.ExecutionException
public java.lang.String encrypt(java.lang.String password) throws ExecutionException
password
- password to be encryptedExecutionException
public java.lang.String[] getSessionId(java.lang.String windowIdentifier) throws ExecutionException
windowIdentifier
- the windowIdentifier can be the window name, the window title or a regular expression of any of these.ExecutionException
public java.lang.String[] getSessionId() throws ExecutionException
ExecutionException
public void crawlWebsite(java.lang.String websiteURL, java.lang.Integer depth, java.lang.String csvOutputFilePath) throws ExecutionException
websiteURL
- URL of the website to crawldepth
- Specify how deep Sahi should navigate in each linkcsvOutputFilePath
- Path of output csv fileExecutionException
public void setCell(java.lang.Object element, java.lang.String value) throws ExecutionException
element
- cell whose value is to be setvalue
- Value to be setExecutionException
public void typeCell(java.lang.Object element, java.lang.String value) throws ExecutionException
element
- cell element in which the text is to be typedvalue
- Value to be setExecutionException
public void drag(java.lang.Object dragElement) throws ExecutionException
dragElement
- element to be draggedExecutionException
public void drop(java.lang.Object dropElement) throws ExecutionException
dropElement
- element where the dragged element will be droppedExecutionException
public ElementStub button(java.lang.Object... args)
public ElementStub jButton(java.lang.Object... args)
public ElementStub jToggleButton(java.lang.Object... args)
public ElementStub table(java.lang.Object... args)
public ElementStub jTable(java.lang.Object... args)
public ElementStub jTableHeader(java.lang.Object... args)
public ElementStub menu(java.lang.Object... args)
public ElementStub jMenu(java.lang.Object... args)
public ElementStub jMenuItem(java.lang.Object... args)
public ElementStub jPopupMenu(java.lang.Object... args)
public ElementStub jCheckBoxMenuItem(java.lang.Object... args)
public ElementStub jRadioButtonMenuItem(java.lang.Object... args)
public ElementStub checkbox(java.lang.Object... args)
public ElementStub jCheckBox(java.lang.Object... args)
public ElementStub radio(java.lang.Object... args)
public ElementStub jRadioButton(java.lang.Object... args)
public ElementStub textbox(java.lang.Object... args)
public ElementStub jTextField(java.lang.Object... args)
public ElementStub textarea(java.lang.Object... args)
public ElementStub jTextArea(java.lang.Object... args)
public ElementStub jTextPane(java.lang.Object... args)
public ElementStub jEditorPane(java.lang.Object... args)
public ElementStub password(java.lang.Object... args)
public ElementStub jPasswordField(java.lang.Object... args)
public ElementStub jComboBox(java.lang.Object... args)
public ElementStub jTabbedPane(java.lang.Object... args)
public ElementStub jList(java.lang.Object... args)
public ElementStub choice(java.lang.Object... args)
public ElementStub list(java.lang.Object... args)
public ElementStub label(java.lang.Object... args)
public ElementStub jLabel(java.lang.Object... args)
public ElementStub jPanel(java.lang.Object... args)
public ElementStub jSlider(java.lang.Object... args)
public ElementStub scrollbar(java.lang.Object... args)
public ElementStub jScrollbar(java.lang.Object... args)
public ElementStub textField(java.lang.Object... args)
public ElementStub textArea(java.lang.Object... args)
public ElementStub jRootPane(java.lang.Object... args)
public ElementStub jLayeredPane(java.lang.Object... args)
public ElementStub jScrollPane(java.lang.Object... args)
public ElementStub jOptionPane(java.lang.Object... args)
public ElementStub jDialog(java.lang.Object... args)
public ElementStub jComponent(java.lang.Object... args)
public ElementStub jToolBar(java.lang.Object... args)
public ElementStub tree(java.lang.Object... args)
public ElementStub jTree(java.lang.Object... args)
public ElementStub cell(java.lang.Object... args)
public ElementStub jListItem(java.lang.Object... args)
public ElementStub jTreeItem(java.lang.Object... args)
public ElementStub synthInternalFrameTitlePane(java.lang.Object... args)
public ElementStub jProgressBar(java.lang.Object... args)
public ElementStub tabDisplayer(java.lang.Object... args)
public ElementStub autoHideContainer(java.lang.Object... args)
public ElementStub imageIcon(java.lang.Object... args)
public ElementStub diamondIcon(java.lang.Object... args)
public ElementStub customIcon(java.lang.Object... args)
public ElementStub customButton(java.lang.Object... args)
public ElementStub orVButton(java.lang.Object... args)
public ElementStub orTabBar(java.lang.Object... args)
public ElementStub orLWLabel(java.lang.Object... args)
public ElementStub orMultiLineLabel(java.lang.Object... args)
public ElementStub orVTextField(java.lang.Object... args)
public ElementStub orFLWTextArea(java.lang.Object... args)
public ElementStub orExtendedCheckbox(java.lang.Object... args)
public ElementStub orButton(java.lang.Object... args)
public ElementStub orLWScrollbar(java.lang.Object... args)
public ElementStub orFormsTabPanel(java.lang.Object... args)
public ElementStub orLWCheckbox(java.lang.Object... args)
public ElementStub orVPopList(java.lang.Object... args)
public ElementStub orToolBar(java.lang.Object... args)
public ElementStub orLWMenuSeparator(java.lang.Object... args)
public ElementStub orLWMenuItem(java.lang.Object... args)
public ElementStub orLWMenuBar(java.lang.Object... args)
public ElementStub orDrawnPanel(java.lang.Object... args)
public ElementStub orFormattedTextField(java.lang.Object... args)
public ElementStub orFormButton(java.lang.Object... args)
public ElementStub orTitleBar(java.lang.Object... args)
public ElementStub orEwtContainer(java.lang.Object... args)
public ElementStub orFWindow(java.lang.Object... args)
public ElementStub orButtonBar(java.lang.Object... args)
public ElementStub orPushButton(java.lang.Object... args)
public ElementStub orLWTextField(java.lang.Object... args)
public ElementStub orVTList(java.lang.Object... args)
public ElementStub orListView(java.lang.Object... args)
public ElementStub orExtendedFrame(java.lang.Object... args)
public ElementStub orLWContainer(java.lang.Object... args)
public ElementStub orFormDesktopContainer(java.lang.Object... args)
public ElementStub orImageCanvas(java.lang.Object... args)
public ElementStub orEwtLWScrollbar(java.lang.Object... args)
public ElementStub orLWDataSourceList(java.lang.Object... args)
public ElementStub orLWStatusBar(java.lang.Object... args)
public ElementStub orLWStatusBarTextItem(java.lang.Object... args)