Command list for Smart Devices
From GXtest Wiki
Events
Events | |
---|---|
Back | Simulates the action of pressing the back button on the Android device. |
Go | Is used to launch the application on the device. It receives only one parameter, where we specify the path to the apk of the Android app ton install/launch. |
Tap | It simulates a click or tap on a control of the app defined in GeneXus |
TapText | It simulates a click or tap on a text that is visible on the device screen |
TapTable | It simulates a click or tap on a table cell (identified by the row and column of the table) |
Actions
Actions | |
---|---|
DPNext | Move to the next row of a Data Pool. You should always use DPNext before you begin to use a Data Pool, indicating the name of Data Pool |
DPReset | Returns to the beginning of a Data Pool.
Note: In order to re-use a Datapool, the DPNext command must be executed against it. |
FillInput | Is used to insert a value into a field |
Menu | It simulates a tap on the Menu button of the Android device (if available) |
Swipe | It simulates a swipe action, like a user would do by pressing and dragging its finger through the screen. It receives as a parameter the direction of the swipe movement (up, down, left, right). |
Validaciones
Validaciones | |
---|---|
AppearText | Verifica que un texto aparece en la pantalla. El control debe estar visible. En caso de quedar fuera de la pantalla (por ejemplo si es necesario hacer un scroll para que aparezca), se debe disparar un comando Swipe para que el texto aparezca en la pantalla. |
VerifyControlText | Verifica el valor contenido en un control GeneXus de la pantalla |
Volver a GXtest para Smart Devices