| Fields inherited from class | Fields |
|---|---|
class com.kms.katalon.core.keyword.BuiltinKeywords |
__$stMC |
| Type | Name and description |
|---|---|
static void |
checkElement(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Check a check-box mobile element (android.widget.CheckBox for Android, UIASwitch for iOS) |
static void |
checkElement(com.kms.katalon.core.testobject.TestObject to, int timeout)Check a check-box mobile element (android.widget.CheckBox for Android, UIASwitch for iOS) |
static void |
clearText(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Clear text of a mobile element |
static void |
clearText(com.kms.katalon.core.testobject.TestObject to, int timeout)Clear text of a mobile element |
static void |
closeApplication(com.kms.katalon.core.model.FailureHandling flowControl)Close the current running application |
static void |
closeApplication()Close the current running application |
static void |
closeNotifications(com.kms.katalon.core.model.FailureHandling flowControl)Simulate closing notification action on mobile devices |
static void |
closeNotifications()Simulate closing notification action on mobile devices |
static void |
dragAndDrop(com.kms.katalon.core.testobject.TestObject fromObject, com.kms.katalon.core.testobject.TestObject toObject, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Drag and drop an element into another element |
static void |
dragAndDrop(com.kms.katalon.core.testobject.TestObject fromObject, com.kms.katalon.core.testobject.TestObject toObject, int timeout)Drag and drop an element into another element |
static String |
getAttribute(com.kms.katalon.core.testobject.TestObject to, String name, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Get a specific attribute of a mobile element |
static String |
getAttribute(com.kms.katalon.core.testobject.TestObject to, String name, int timeout)Get a specific attribute of a mobile element |
static String |
getCurrentOrientation(com.kms.katalon.core.model.FailureHandling flowControl)Get current screen orientation of the device |
static String |
getCurrentOrientation()Get current screen orientation of the device |
static int |
getDeviceHeight(com.kms.katalon.core.model.FailureHandling flowControl)Get device's physical height |
static int |
getDeviceHeight()Get device's physical height |
static String |
getDeviceManufacturer(com.kms.katalon.core.model.FailureHandling flowControl)Get the manufacturer of the current active mobile device |
static String |
getDeviceManufacturer()Get the manufacturer of the current active mobile device |
static String |
getDeviceOS(com.kms.katalon.core.model.FailureHandling flowControl)Get the device os of the current active mobile device |
static String |
getDeviceOS()Get the device os of the current active mobile device |
static String |
getDeviceOSVersion(com.kms.katalon.core.model.FailureHandling flowControl)Get the device os version of the current active mobile device |
static String |
getDeviceOSVersion()Get the device os version of the current active mobile device |
static int |
getDeviceWidth(com.kms.katalon.core.model.FailureHandling flowControl)Get device's physical width |
static int |
getDeviceWidth()Get device's physical width |
static int |
getElementHeight(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Get the height of mobile element |
static int |
getElementHeight(com.kms.katalon.core.testobject.TestObject to, int timeout)Get the height of mobile element |
static int |
getElementLeftPosition(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Get the left position of mobile element |
static int |
getElementLeftPosition(com.kms.katalon.core.testobject.TestObject to, int timeout)Get the left position of mobile element |
static int |
getElementTopPosition(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Get the top position of mobile element |
static int |
getElementTopPosition(com.kms.katalon.core.testobject.TestObject to, int timeout)Get the top position of mobile element |
static int |
getElementWidth(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Get the width of mobile element |
static int |
getElementWidth(com.kms.katalon.core.testobject.TestObject to, int timeout)Get the width of mobile element |
static String |
getText(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Get text of a mobile element |
static String |
getText(com.kms.katalon.core.testobject.TestObject to, int timeout)Get text of a mobile element |
static void |
hideKeyboard(com.kms.katalon.core.model.FailureHandling flowControl)Hide the keyboard if it is showing |
static void |
hideKeyboard()Hide the keyboard if it is showing |
static void |
openNotifications(com.kms.katalon.core.model.FailureHandling flowControl)Simulate opening notification action on mobile devices |
static void |
openNotifications()Simulate opening notification action on mobile devices |
static void |
pinchToZoomInAtPosition(Number x, Number y, Number offset, com.kms.katalon.core.model.FailureHandling flowControl)Pinch to zoom in at a specific position on the screen of the mobile device |
static void |
pinchToZoomInAtPosition(Number x, Number y, Number offset)Pinch to zoom in at a specific position on the screen of the mobile device |
static void |
pinchToZoomOutAtPosition(Number x, Number y, Number offset, com.kms.katalon.core.model.FailureHandling flowControl)Pinch to zoom out at a specific position on the screen of the mobile device |
static void |
pinchToZoomOutAtPosition(Number x, Number y, Number offset)Pinch to zoom out at a specific position on the screen of the mobile device |
static void |
pressBack(com.kms.katalon.core.model.FailureHandling flowControl)Simulate pressing back button on a mobile device (Android only) |
static void |
pressBack()Simulate pressing back button on a mobile device (Android only) |
static void |
pressHome(com.kms.katalon.core.model.FailureHandling flowControl)Simulate pressing home button on mobile devices (Android only) |
static void |
pressHome()Simulate pressing home button on mobile devices (Android only) |
static void |
runIOSAppInBackgroundAndWait(int seconds, com.kms.katalon.core.model.FailureHandling flowControl)Running the active application in background |
static void |
runIOSAppInBackgroundAndWait(int seconds)Running the active application in background |
static void |
scrollToText(String text, com.kms.katalon.core.model.FailureHandling flowControl)Scroll to an element which contains the given text. |
static void |
scrollToText(String text)Scroll to an element which contains the given text. |
static void |
selectListItemByIndex(com.kms.katalon.core.testobject.TestObject to, int index, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Select item of list view control by its index. |
static void |
selectListItemByIndex(com.kms.katalon.core.testobject.TestObject to, int index, int timeout)Select item of list view control by its index. |
static void |
selectListItemByLabel(com.kms.katalon.core.testobject.TestObject to, String label, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Select item of list view control by its label. |
static void |
selectListItemByLabel(com.kms.katalon.core.testobject.TestObject to, String label, int timeout)Select item of list view control by its label. |
static void |
sendKeys(com.kms.katalon.core.testobject.TestObject to, String strokeKeys, com.kms.katalon.core.model.FailureHandling flowControl)Simulates keystroke events on the specified element, as though you typed the value key-by-key. |
static void |
sendKeys(com.kms.katalon.core.testobject.TestObject to, String strokeKeys)Simulates keystroke events on the specified element, as though you typed the value key-by-key. |
static void |
setSliderValue(com.kms.katalon.core.testobject.TestObject to, Number percent, int timeOut, com.kms.katalon.core.model.FailureHandling flowControl)Set the value for Slider control (android.widget.SeekBar for Android, UIASlider for iOS) at specific percentage |
static void |
setSliderValue(com.kms.katalon.core.testobject.TestObject to, Number percent, int timeOut)Set the value for Slider control (android.widget.SeekBar for Android, UIASlider for iOS) at specific percentage |
static void |
setText(com.kms.katalon.core.testobject.TestObject to, String text, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Set text to a mobile element |
static void |
setText(com.kms.katalon.core.testobject.TestObject to, String text, int timeout)Set text to a mobile element |
static void |
startApplication(String appFile, boolean uninstallAfterCloseApp, com.kms.katalon.core.model.FailureHandling flowControl)Start up an application |
static void |
startApplication(String appFile, boolean uninstallAfterCloseApp)Start up an application |
static void |
swipe(int startX, int startY, int endX, int endY, com.kms.katalon.core.model.FailureHandling flowControl)Simulate swiping fingers on the mobile device |
static void |
swipe(int startX, int startY, int endX, int endY)Simulate swiping fingers on the mobile device |
static boolean |
switchToLandscape(com.kms.katalon.core.model.FailureHandling flowControl)Switch the current device's mode to landscape mode |
static boolean |
switchToLandscape()Switch the current device's mode to landscape mode |
static void |
switchToNative(com.kms.katalon.core.model.FailureHandling flowControl)Switch the current device driver to native context |
static void |
switchToNative()Switch the current device driver to native context |
static boolean |
switchToPortrait(com.kms.katalon.core.model.FailureHandling flowControl)Switch the current device's mode to portrait mode |
static boolean |
switchToPortrait()Switch the current device's mode to portrait mode |
static void |
switchToWebView(com.kms.katalon.core.model.FailureHandling flowControl)Switch the current device driver to web view context |
static void |
switchToWebView()Switch the current device driver to web view context |
static String |
takeScreenshot(String fileName, com.kms.katalon.core.model.FailureHandling flowControl)Taking screenshot of the mobile device screen |
static String |
takeScreenshot(String fileName)Taking screenshot of the mobile device screen |
static String |
takeScreenshot(com.kms.katalon.core.model.FailureHandling flowControl)Taking screenshot of the mobile device screen |
static String |
takeScreenshot()Taking screenshot of the mobile device screen |
static void |
tap(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Tap on an mobile element |
static void |
tap(com.kms.katalon.core.testobject.TestObject to, int timeout)Tap on an mobile element |
static void |
tapAndHold(com.kms.katalon.core.testobject.TestObject to, Number duration, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Tap and hold on a mobile element for a duration |
static void |
tapAndHold(com.kms.katalon.core.testobject.TestObject to, Number duration, int timeout)Tap and hold on a mobile element for a duration |
static void |
tapAndHoldAtPosition(Number x, Number y, Number duration, com.kms.katalon.core.model.FailureHandling flowControl)Tap and hold at a specific position on the screen of the mobile device |
static void |
tapAndHoldAtPosition(Number x, Number y, Number duration)Tap and hold at a specific position on the screen of the mobile device |
static void |
tapAtPosition(Number x, Number y, com.kms.katalon.core.model.FailureHandling flowControl)Tap at a specific position on the screen of the mobile device |
static void |
tapAtPosition(Number x, Number y)Tap at a specific position on the screen of the mobile device |
static void |
toggleAirplaneMode(String mode, com.kms.katalon.core.model.FailureHandling flowControl)Simulate toggling airplane mode on mobile devices |
static void |
toggleAirplaneMode(String mode)Simulate toggling airplane mode on mobile devices |
static void |
uncheckElement(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Un-check a check-box mobile element (android.widget.CheckBox for Android, UIASwitch for iOS) |
static void |
uncheckElement(com.kms.katalon.core.testobject.TestObject to, int timeout)Un-check a check-box mobile element (android.widget.CheckBox for Android, UIASwitch for iOS) |
static void |
unlockScreen(com.kms.katalon.core.model.FailureHandling flowControl)Unlock device screen |
static void |
unlockScreen()Unlock device screen |
static boolean |
verifyElementAttributeValue(com.kms.katalon.core.testobject.TestObject to, String attributeName, String attributeValue, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Verify if the element has an attribute with the specific name and value |
static boolean |
verifyElementAttributeValue(com.kms.katalon.core.testobject.TestObject to, String attributeName, String attributeValue, int timeout)Verify if the element has an attribute with the specific name and value |
static boolean |
verifyElementChecked(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Verify if a mobile element is checked |
static boolean |
verifyElementChecked(com.kms.katalon.core.testobject.TestObject to, int timeout)Verify if a mobile element is checked |
static boolean |
verifyElementExist(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Verify if a mobile element is presented |
static boolean |
verifyElementExist(com.kms.katalon.core.testobject.TestObject to, int timeout)Verify if a mobile element is presented |
static boolean |
verifyElementHasAttribute(com.kms.katalon.core.testobject.TestObject to, String attributeName, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Verify if the element has an attribute with the specific name |
static boolean |
verifyElementHasAttribute(com.kms.katalon.core.testobject.TestObject to, String attributeName, int timeout)Verify if the element has an attribute with the specific name |
static boolean |
verifyElementNotChecked(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Verify if a mobile element is not checked |
static boolean |
verifyElementNotChecked(com.kms.katalon.core.testobject.TestObject to, int timeout)Verify if a mobile element is not checked |
static boolean |
verifyElementNotExist(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Verify if a mobile element is NOT presented |
static boolean |
verifyElementNotExist(com.kms.katalon.core.testobject.TestObject to, int timeout)Verify if a mobile element is NOT presented |
static boolean |
verifyElementNotHasAttribute(com.kms.katalon.core.testobject.TestObject to, String attributeName, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Verify if the element doesn't have an attribute with the specific name |
static boolean |
verifyElementNotHasAttribute(com.kms.katalon.core.testobject.TestObject to, String attributeName, int timeout)Verify if the element doesn't have an attribute with the specific name |
static boolean |
verifyElementNotVisible(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Verify if a mobile element is NOT visible |
static boolean |
verifyElementNotVisible(com.kms.katalon.core.testobject.TestObject to, int timeout)Verify if a mobile element is NOT visible |
static boolean |
verifyElementText(com.kms.katalon.core.testobject.TestObject to, String expectedText, com.kms.katalon.core.model.FailureHandling flowControl)Verify text of an element. |
static boolean |
verifyElementText(com.kms.katalon.core.testobject.TestObject to, String expectedText)Verify text of an element. |
static boolean |
verifyElementVisible(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Verify if a mobile element is visible |
static boolean |
verifyElementVisible(com.kms.katalon.core.testobject.TestObject to, int timeout)Verify if a mobile element is visible |
static boolean |
verifyIsLandscape(com.kms.katalon.core.model.FailureHandling flowControl)Verify if current device is in landscape mode |
static boolean |
verifyIsLandscape()Verify if current device is in landscape mode |
static boolean |
verifyIsPortrait(com.kms.katalon.core.model.FailureHandling flowControl)Verify if current device is in portrait mode |
static boolean |
verifyIsPortrait()Verify if current device is in portrait mode |
static boolean |
waitForElementAttributeValue(com.kms.katalon.core.testobject.TestObject to, String attributeName, String attributeValue, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Wait until the given web element has an attribute with the specific name and value |
static boolean |
waitForElementAttributeValue(com.kms.katalon.core.testobject.TestObject to, String attributeName, String attributeValue, int timeout)Wait until the given web element has an attribute with the specific name and value |
static boolean |
waitForElementHasAttribute(com.kms.katalon.core.testobject.TestObject to, String attributeName, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Wait until the given web element has an attribute with the specific name |
static boolean |
waitForElementHasAttribute(com.kms.katalon.core.testobject.TestObject to, String attributeName, int timeout)Wait until the given web element has an attribute with the specific name |
static boolean |
waitForElementNotHasAttribute(com.kms.katalon.core.testobject.TestObject to, String attributeName, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Wait until the given web element doesn't have an attribute with the specific name |
static boolean |
waitForElementNotHasAttribute(com.kms.katalon.core.testobject.TestObject to, String attributeName, int timeout)Wait until the given web element doesn't have an attribute with the specific name |
static boolean |
waitForElementPresent(com.kms.katalon.core.testobject.TestObject to, int timeout, com.kms.katalon.core.model.FailureHandling flowControl)Wait for a mobile element to present |
static boolean |
waitForElementPresent(com.kms.katalon.core.testobject.TestObject to, int timeout)Wait for a mobile element to present |
| Methods inherited from class | Name |
|---|---|
class com.kms.katalon.core.keyword.BuiltinKeywords |
com.kms.katalon.core.keyword.BuiltinKeywords#setProperty(java.lang.String, java.lang.Object), com.kms.katalon.core.keyword.BuiltinKeywords#getProperty(java.lang.String), com.kms.katalon.core.keyword.BuiltinKeywords#concatenate([Ljava.lang.String;), com.kms.katalon.core.keyword.BuiltinKeywords#concatenate([Ljava.lang.String;, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#comment(java.lang.String), com.kms.katalon.core.keyword.BuiltinKeywords#delay(java.lang.Object, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#delay(java.lang.Object), com.kms.katalon.core.keyword.BuiltinKeywords#invokeMethod(java.lang.String, java.lang.Object), com.kms.katalon.core.keyword.BuiltinKeywords#getMetaClass(), com.kms.katalon.core.keyword.BuiltinKeywords#setMetaClass(groovy.lang.MetaClass), com.kms.katalon.core.keyword.BuiltinKeywords#verifyMatch(java.lang.String, java.lang.String, boolean, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#verifyMatch(java.lang.String, java.lang.String, boolean), com.kms.katalon.core.keyword.BuiltinKeywords#verifyNotMatch(java.lang.String, java.lang.String, boolean, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#verifyNotMatch(java.lang.String, java.lang.String, boolean), com.kms.katalon.core.keyword.BuiltinKeywords#verifyEqual(java.lang.Object, java.lang.Object, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#verifyEqual(java.lang.Object, java.lang.Object), com.kms.katalon.core.keyword.BuiltinKeywords#verifyNotEqual(java.lang.Object, java.lang.Object, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#verifyNotEqual(java.lang.Object, java.lang.Object), com.kms.katalon.core.keyword.BuiltinKeywords#verifyGreaterThan(java.lang.Object, java.lang.Object, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#verifyGreaterThan(java.lang.Object, java.lang.Object), com.kms.katalon.core.keyword.BuiltinKeywords#verifyGreaterThanOrEqual(java.lang.Object, java.lang.Object), com.kms.katalon.core.keyword.BuiltinKeywords#verifyGreaterThanOrEqual(java.lang.Object, java.lang.Object, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#verifyLessThan(java.lang.Object, java.lang.Object, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#verifyLessThan(java.lang.Object, java.lang.Object), com.kms.katalon.core.keyword.BuiltinKeywords#verifyLessThanOrEqual(java.lang.Object, java.lang.Object, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#verifyLessThanOrEqual(java.lang.Object, java.lang.Object), com.kms.katalon.core.keyword.BuiltinKeywords#callTestCase(com.kms.katalon.core.testcase.TestCase, java.util.Map, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#callTestCase(com.kms.katalon.core.testcase.TestCase, java.util.Map), com.kms.katalon.core.keyword.BuiltinKeywords#verifyCheckpoint(com.kms.katalon.core.checkpoint.Checkpoint, boolean, com.kms.katalon.core.model.FailureHandling), com.kms.katalon.core.keyword.BuiltinKeywords#verifyCheckpoint(com.kms.katalon.core.checkpoint.Checkpoint, boolean), com.kms.katalon.core.keyword.BuiltinKeywords#wait(long, int), com.kms.katalon.core.keyword.BuiltinKeywords#wait(long), com.kms.katalon.core.keyword.BuiltinKeywords#wait(), com.kms.katalon.core.keyword.BuiltinKeywords#equals(java.lang.Object), com.kms.katalon.core.keyword.BuiltinKeywords#toString(), com.kms.katalon.core.keyword.BuiltinKeywords#hashCode(), com.kms.katalon.core.keyword.BuiltinKeywords#getClass(), com.kms.katalon.core.keyword.BuiltinKeywords#notify(), com.kms.katalon.core.keyword.BuiltinKeywords#notifyAll() |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Check a check-box mobile element (android.widget.CheckBox for Android, UIASwitch for iOS)
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultCheck a check-box mobile element (android.widget.CheckBox for Android, UIASwitch for iOS)
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultClear text of a mobile element
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultClear text of a mobile element
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultClose the current running application
Close the current running application
Simulate closing notification action on mobile devices
Simulate closing notification action on mobile devices
Drag and drop an element into another element
fromObject
- represent the drag-able mobile elementtoObject
- represent the drop-able mobile elementtimeout
- system will wait at most timeout (seconds) to return resultDrag and drop an element into another element
fromObject
- represent the drag-able mobile elementtoObject
- represent the drop-able mobile elementtimeout
- system will wait at most timeout (seconds) to return resultGet a specific attribute of a mobile element
to
- represent a mobile elementname
- name of the attribute to gettimeout
- system will wait at most timeout (seconds) to return resultGet a specific attribute of a mobile element
to
- represent a mobile elementname
- name of the attribute to gettimeout
- system will wait at most timeout (seconds) to return resultGet current screen orientation of the device
Get current screen orientation of the device
Get device's physical height
Get device's physical height
Get the manufacturer of the current active mobile device
Get the manufacturer of the current active mobile device
Get the device os of the current active mobile device
Get the device os of the current active mobile device
Get the device os version of the current active mobile device
Get the device os version of the current active mobile device
Get device's physical width
Get device's physical width
Get the height of mobile element
to -
represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultGet the height of mobile element
to -
represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultGet the left position of mobile element
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultGet the left position of mobile element
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultGet the top position of mobile element
to - mobile element objectGet the top position of mobile element
to - mobile element objectGet the width of mobile element
to -
represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultGet the width of mobile element
to -
represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultGet text of a mobile element
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultGet text of a mobile element
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultHide the keyboard if it is showing
Hide the keyboard if it is showing
Simulate opening notification action on mobile devices
Simulate opening notification action on mobile devices
Pinch to zoom in at a specific position on the screen of the mobile device
x
- x positiony
- y positionoffset
- the offset length to pinchPinch to zoom in at a specific position on the screen of the mobile device
x
- x positiony
- y positionoffset
- the offset length to pinchPinch to zoom out at a specific position on the screen of the mobile device
x
- x positiony
- y positionoffset
- the offset length to pinchPinch to zoom out at a specific position on the screen of the mobile device
x
- x positiony
- y positionoffset
- the offset length to pinchSimulate pressing back button on a mobile device (Android only)
Simulate pressing back button on a mobile device (Android only)
Simulate pressing home button on mobile devices (Android only)
Simulate pressing home button on mobile devices (Android only)
Running the active application in background
seconds
- amounts of time (in seconds) for the application to run in backgroundRunning the active application in background
seconds
- amounts of time (in seconds) for the application to run in backgroundScroll to an element which contains the given text.
text - : text of an element to scroll toScroll to an element which contains the given text.
text - : text of an element to scroll toSelect item of list view control by its index. Have not implemented for Android because its list view is async loaded
to -
represent a mobile elementindex -
item index (1-based indexed)timeout
- system will wait at most timeout (seconds) to return resultSelect item of list view control by its index. Have not implemented for Android because its list view is async loaded
to -
represent a mobile elementindex -
item index (1-based indexed)timeout
- system will wait at most timeout (seconds) to return resultSelect item of list view control by its label.
to -
represent a mobile elementlabel -
item labeltimeout
- system will wait at most timeout (seconds) to return resultSelect item of list view control by its label.
to -
represent a mobile elementlabel -
item labeltimeout
- system will wait at most timeout (seconds) to return resultSimulates keystroke events on the specified element, as though you typed the value key-by-key.
to
- represent a mobile element.strokeKeys
- the combination of keys to typeSimulates keystroke events on the specified element, as though you typed the value key-by-key.
to
- represent a mobile element.strokeKeys
- the combination of keys to typeSet the value for Slider control (android.widget.SeekBar for Android, UIASlider for iOS) at specific percentage
to
- represent a mobile element (android.widget.SeekBar for Android, UIASlider for iOS)percent
- percentage value to set to the slider ( 0 <= percent <= 100 )timeOut
- system will wait at most timeout (seconds) to return resultSet the value for Slider control (android.widget.SeekBar for Android, UIASlider for iOS) at specific percentage
to
- represent a mobile element (android.widget.SeekBar for Android, UIASlider for iOS)percent
- percentage value to set to the slider ( 0 <= percent <= 100 )timeOut
- system will wait at most timeout (seconds) to return resultSet text to a mobile element
to
- represent a mobile elementtext
- the text to set to the mobile elementtimeout
- system will wait at most timeout (seconds) to return resultSet text to a mobile element
to
- represent a mobile elementtext
- the text to set to the mobile elementtimeout
- system will wait at most timeout (seconds) to return resultStart up an application
appFile
- The absolute path or relative path of the mobile application installation file.
In case relative path is used, the base directory is the project location.uninstallAfterCloseApp
- true if uninstalling the application automatically after run completed; otherwise, falseStart up an application
appFile
- The absolute path or relative path of the mobile application installation file.
In case relative path is used, the base directory is the project location.uninstallAfterCloseApp
- true if uninstalling the application automatically after run completed; otherwise, falseSimulate swiping fingers on the mobile device
startX
- starting x positionstartY
- starting y positionendX
- relative x position of startXendY
- relative y position of startYSimulate swiping fingers on the mobile device
startX
- starting x positionstartY
- starting y positionendX
- relative x position of startXendY
- relative y position of startYSwitch the current device's mode to landscape mode
Switch the current device's mode to landscape mode
Switch the current device driver to native context
Switch the current device driver to native context
Switch the current device's mode to portrait mode
Switch the current device's mode to portrait mode
Switch the current device driver to web view context
Switch the current device driver to web view context
Taking screenshot of the mobile device screen
fileName
- the absolute path of the saved screenshot image fileTaking screenshot of the mobile device screen
fileName
- the absolute path of the saved screenshot image fileTaking screenshot of the mobile device screen
Taking screenshot of the mobile device screen
Tap on an mobile element
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultTap on an mobile element
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultTap and hold on a mobile element for a duration
to
- represent a mobile elementduration
- duration (in seconds) that the tap is hold on the element, if set to <= 0 then will use default durationtimeout
- system will wait at most timeout (seconds) to return resultTap and hold on a mobile element for a duration
to
- represent a mobile elementduration
- duration (in seconds) that the tap is hold on the element, if set to <= 0 then will use default durationtimeout
- system will wait at most timeout (seconds) to return resultTap and hold at a specific position on the screen of the mobile device
x
- x positiony
- y positionduration
- duration (in seconds) that the tap is hold on the element, if set to <= 0 then will use default durationTap and hold at a specific position on the screen of the mobile device
x
- x positiony
- y positionduration
- duration (in seconds) that the tap is hold on the element, if set to <= 0 then will use default durationTap at a specific position on the screen of the mobile device
x
- x positiony
- y positionTap at a specific position on the screen of the mobile device
x
- x positiony
- y positionSimulate toggling airplane mode on mobile devices
mode
- ["yes", "on", "true"] to turn on airplane mode; otherwise, airplane mode is turn offSimulate toggling airplane mode on mobile devices
mode
- ["yes", "on", "true"] to turn on airplane mode; otherwise, airplane mode is turn offUn-check a check-box mobile element (android.widget.CheckBox for Android, UIASwitch for iOS)
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultUn-check a check-box mobile element (android.widget.CheckBox for Android, UIASwitch for iOS)
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultUnlock device screen
Unlock device screen
Verify if the element has an attribute with the specific name and value
to
- represent a mobile elementattributeName
- the name of the attribute to verifyattributeValue
- the value of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if the element has an attribute with the specific name and value
to
- represent a mobile elementattributeName
- the name of the attribute to verifyattributeValue
- the value of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is checked
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is checked
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is presented
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is presented
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if the element has an attribute with the specific name
to
- represent a mobile elementattributeName
- the name of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if the element has an attribute with the specific name
to
- represent a mobile elementattributeName
- the name of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is not checked
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is not checked
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is NOT presented
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is NOT presented
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if the element doesn't have an attribute with the specific name
to
- represent a mobile elementattributeName
- the name of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if the element doesn't have an attribute with the specific name
to
- represent a mobile elementattributeName
- the name of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is NOT visible
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is NOT visible
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify text of an element.
to
- represent a mobile element.expectedText
- text of the element to verify.Verify text of an element.
to
- represent a mobile element.expectedText
- text of the element to verify.Verify if a mobile element is visible
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if a mobile element is visible
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultVerify if current device is in landscape mode
Verify if current device is in landscape mode
Verify if current device is in portrait mode
Verify if current device is in portrait mode
Wait until the given web element has an attribute with the specific name and value
to
- represent a mobile elementattributeName
- the name of the attribute to wait forattributeValue
- the value of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait until the given web element has an attribute with the specific name and value
to
- represent a mobile elementattributeName
- the name of the attribute to wait forattributeValue
- the value of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait until the given web element has an attribute with the specific name
to
- represent a mobile elementattributeName
- the name of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait until the given web element has an attribute with the specific name
to
- represent a mobile elementattributeName
- the name of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait until the given web element doesn't have an attribute with the specific name
to
- represent a web elementattributeName
- the name of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait until the given web element doesn't have an attribute with the specific name
to
- represent a web elementattributeName
- the name of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait for a mobile element to present
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return resultWait for a mobile element to present
to
- represent a mobile elementtimeout
- system will wait at most timeout (seconds) to return result