Difference between revisions of "Command list for Smart Devices"

From GXtest Wiki
Jump to: navigation, search
(Created page with "{{Idiomas|Comandos disponibles para SmartDevices|Command list for Smart Devices| Command list for Smart Devices}} === Eventos === {| border="1" cellpadding="5" cellspacing="...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Idiomas|Comandos disponibles para SmartDevices|Command list for Smart Devices| Command list for Smart Devices}}
+
{{Idiomas|Comandos disponibles para SmartDevices|Command list for Smart Devices| スマートデバイス用のコマンドリスト}}
  
  
=== Eventos ===
+
=== Events ===
 
{| border="1" cellpadding="5" cellspacing="0" align="center"  width="100%"
 
{| border="1" cellpadding="5" cellspacing="0" align="center"  width="100%"
 
|-
 
|-
! style="background:#efefef;" colspan="2" | Eventos
+
! style="background:#efefef;" colspan="2" | Events
 
|-
 
|-
| Back || Es análogo a presionar el botón Atrás en el dispositivo Android.
+
| Back || Simulates the action of pressing the back button on the Android device.
 
|-
 
|-
| Go || Es análogo a ejecutar una aplicación en el dispositivo. Recibe como parámetro la ruta donde se encuentra el APK de la aplicación, en el PC donde se ejecuta la prueba
+
| 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 to install/launch.
 
|-
 
|-
| Tap || Hace un clic o tap en un control GeneXus
+
| Tap || It simulates a click or tap on a control of the app defined in GeneXus
 
|-
 
|-
| TapText || Hace un clic o tap sobre un texto visible en la pantalla
+
| TapText || It simulates a click or tap on a text that is visible on the device screen
 
|-
 
|-
| TapTable || Hace un clic o tap sobre una celda (fila y columna) de una tabla
+
| TapTable || It simulates a click or tap on a table cell (identified by the row and column of the table)
 
|}
 
|}
  
=== Acciones ===
+
=== Actions ===
 
{| border="1" cellpadding="5" cellspacing="0" align="center"  width="100%"
 
{| border="1" cellpadding="5" cellspacing="0" align="center"  width="100%"
 
|-
 
|-
! style="background:#efefef;" colspan="2" | Acciones
+
! 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).
 
|}
 
|}
  
=== Validaciones ===
+
=== Validations ===
 
{| border="1" cellpadding="5" cellspacing="0" align="center" width="100%"
 
{| border="1" cellpadding="5" cellspacing="0" align="center" width="100%"
 
|-
 
|-
! style="background:#efefef;" colspan="2" | Validaciones
+
! style="background:#efefef;" colspan="2" | Validations
 
|-
 
|-
| 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.
+
| AppearText|| Checks if a specific text is or is not on the screen. The text must be visible on the screen. If the text is outside the screen (for example in small resolutions, where you must scroll to find the text), you should use Swipe command to scroll and find the text, so it appears in the screen.
 
|-
 
|-
| VerifyControlText || Verifica el valor contenido en un control GeneXus de la pantalla
+
| VerifyControlText || Compares a value displayed by a control, with another value.
 
|}
 
|}
Volver a [[GXtest para Smart Devices]]
+
 
 +
=== Considerations ===
 +
There are some GXtest platform-independent commands, that are supported by the Android execution but are not detailed in the above lists. Those commands are:
 +
*Concatenation
 +
*Execute
 +
*Pause
 +
*Random
 +
*SQLExecute
 +
*StoreValue
 +
*GetValue
 +
*Summarize
 +
*TakeScreenshot
 +
*Equals
 +
 
 +
Go back to [[GXtest for Smart Devices]]

Latest revision as of 19:35, 29 May 2015

Spanish.gif
English.gif
Japan.gif


Contents

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 to 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).

Validations

Validations
AppearText Checks if a specific text is or is not on the screen. The text must be visible on the screen. If the text is outside the screen (for example in small resolutions, where you must scroll to find the text), you should use Swipe command to scroll and find the text, so it appears in the screen.
VerifyControlText Compares a value displayed by a control, with another value.

Considerations

There are some GXtest platform-independent commands, that are supported by the Android execution but are not detailed in the above lists. Those commands are:

  • Concatenation
  • Execute
  • Pause
  • Random
  • SQLExecute
  • StoreValue
  • GetValue
  • Summarize
  • TakeScreenshot
  • Equals

Go back to GXtest for Smart Devices