...
Command | Parameters | Description |
---|---|---|
scrollDown | Scrolls down the screen. | |
scrollUp | Scrolls up the screen. | |
swipe | int x1: the abscissa of the device screen where the swipe begins. int y1: the ordinate of the device screen where the swipe begins. int x2: the abscissa of the device screen where the swipe ends. int y2: the ordinate of the device screen where the swipe ends. | Swipes the screen. |
swipeVertical | int percStartY: the percentage of the ordinate coordinates of the device screen where the swipe begin. int percEndY: the percentage of the ordinate coordinates of the device screen where the swipe end. int percX: the percentage of the abscissa coordinates of the device screen where the swipe is done. | Swipes vertically the screen. The swipe gesture is from screen point A with coordinates (X percX, Y percStartY) to screen point B with coordinates (X percX, Y percEndY). The perc or % is used for the percentage of the screen size. (Example to make a swipe from A (X 65%, Y 15%) to B (X 65%, Y 50%), use: swipeVertical,15,50,65). |
swipeHorizontal | int percStartX: the percentage of the abscissa coordinates of the device screen where the swipe begin. Int percEndX: the percentage of the abscissa coordinates of the device screen where the swipe end. int percY: the percentage of the ordinate coordinates of the device screen where the swipe is done. | Swipes horizontally the screen. The swipe gesture is from screen poinwhicht A with coordinates (X percStartX, Y percY) to screen point B with coordinates (X percEndX, Y percY). The perc or % is used for the percentage of the screen size. (Example to make a swipe from A (X 20%, Y 40%) to B (X 80%, Y 40%), use: swipeHorizontal,20,80,40). |
SetText
Command | Parameters | Description |
---|---|---|
setTextByText | String textToSet: the text to set. String textSelector: the text selector. | Pastes the given text into the element which contains the given text selector. |
setTextByTextExact | String textToSet: the text to set. String textSelector: the text selector. | Pastes the given text into the element which has the given exact text selector. |
setTextById | String textToSet: the text to set. String idSelector: the id selector. | Pastes the given text into the element which contains the given id selector. |
enterText | String text: the text to enter. | Enters the given text in the current selected field clicking on the keyboard keys for each character. |
...