Difference between revisions of "Command list for Smart Devices"

From GXtest Wiki
Jump to: navigation, search
(Actions)
Line 23: Line 23:
 
! style="background:#efefef;" colspan="2" | Actions
 
! style="background:#efefef;" colspan="2" | Actions
 
|-
 
|-
| DPNext || Avanza a la próxima fila del Datapool. Siempre debe hacerse un DPNext antes de comenzar a utilizar el Datapool, indicando el nombre del mismo
+
| 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 || Hace que se comience nuevamente desde el principio del Datapool, sólo se le debe indicar el nombre del Datapool
+
| DPReset || Returns to the beginning of a Data Pool.
   Nota: Para volver a utilizar el Datapool, se debe volver a ejecutar un DPNext sobre dicho Datapool
+
   Note: In order to re-use a Datapool, the DPNext command must be executed against it.
 
|-
 
|-
| FillInput || Ingresa un valor en un control editable (por ejemplo escribe un texto en un campo de un formulario)
+
| FillInput || Is used to insert a value into a field
 
|-
 
|-
| Menu || Simula un tap en el botón físico "Menu" del dispositivo (si está disponible)
+
| Menu || It simulates a tap on the Menu button of the Android device (if available)
 
|-
 
|-
| Swipe || Realiza la acción de swipe, tal como la realizaría el usuario arrastrando su dedo por la pantalla. Recibe como parámetro la dirección en la que se debe realizar el desplazamiento.
+
| 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).
 
|}
 
|}
  

Revision as of 12:46, 17 April 2015

Spanish.gif
English.gif
Japan.gif


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